Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use relative units like em with font-size #3

Open
thysultan opened this issue Oct 17, 2016 · 4 comments
Open

Use relative units like em with font-size #3

thysultan opened this issue Oct 17, 2016 · 4 comments

Comments

@thysultan
Copy link

Use relative units like 'em' with 'font-size' for better scaling support.

@ityler
Copy link

ityler commented Oct 17, 2016

Agree with better scaling support. It's the only surface complaint I have regarding these icons in comparison to a typical "font" solution.

@wentin
Copy link
Owner

wentin commented Oct 18, 2016

thanks for the suggestion! I will experiment and see if my concerns can be addressed (some css trick need specific exact value to work, and some relationship between elements need to be exact to look the way i want them to look)
This process reminds me of font hinting! lol

@LucaRosaldi
Copy link

+1 for this. Ems are definitely the way to go.

Quickly tried on codepen and it works fine: http://codepen.io/LucaRosaldi/pen/jrZVNW

@XiBOR
Copy link

XiBOR commented Oct 21, 2016

Also you may use some keywords for better code integration, like color: inherit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants