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

Update rem unit #432

Merged
merged 2 commits into from
Oct 23, 2018
Merged

Update rem unit #432

merged 2 commits into from
Oct 23, 2018

Conversation

Paquan
Copy link
Contributor

@Paquan Paquan commented Oct 19, 2018

Related to #409

posts/rem.md Outdated
kind: css

The css `rem` unit is calculated relative to font size, but based on the root element (usually `<html>`) instead of the element's parent. For a detailed comparison of `em`, `px`, and `rem`, see [this post
by Johnathan Snook](http://snook.ca/archives/html_and_css/font-size-with-rem).

`rem` has wide browser support & is recommended for use with an easily-calculated pixel fallback.
Internet Explorer 10 and 9 have quirks. For more details see `caniuse`.

This comment was marked as abuse.

@mischah mischah merged commit 2d95545 into h5bp:master Oct 23, 2018
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

Successfully merging this pull request may close these issues.

3 participants