-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Don't use "px" as font size unit #203
Comments
Yes, it would probably be better to use |
Though I agree that setting font sizes for different emphasis should use a relative font unit ( Converting css |
Actually one should use rem if changing from px at all. :) |
Set a sensible root font size on the |
Displays have different resolutions, so it is not recommended using px as font-size unit. It is better to use em or %.
i looked at the new book version of Rust Book and I could find one font-size declaration using px:
Maybe this was made on purpose, maybe not. I'm not really the web-dev guy. :)
The text was updated successfully, but these errors were encountered: