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

rem units should be relative to root (HTML) font size #726

Open
calind opened this issue Oct 12, 2023 · 0 comments
Open

rem units should be relative to root (HTML) font size #726

calind opened this issue Oct 12, 2023 · 0 comments
Labels
bug Something isn't working CSS Issues with CSS properties

Comments

@calind
Copy link

calind commented Oct 12, 2023

Currently, rem is treated just like em, ie, relative to the element's font size. According to the CSS spec, rem unit is relative to the root element's (HTML tag) font size.

@calind calind added the bug Something isn't working label Oct 12, 2023
@timobrembeck timobrembeck added the CSS Issues with CSS properties label Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CSS Issues with CSS properties
Projects
None yet
Development

No branches or pull requests

2 participants