-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Following the documentation on the site, when setting the @base-font-size variable to your calculated body font size and calling the .font-size-rems() mixin, the incorrect font-size is being computed.
Steps:
- Set the @base-font-size variable to 14 (no units as stated in the docs)
- Set your body font-size to 87.5% (targeting a 14px font-size here)
- Set an h1 font-size property to .font-size-rems(24)
- Declare an h1 element in your markup
- Inspect the computed font size. It is 27px.
Expected:
The computed font size should be 24px;
Metadata
Metadata
Assignees
Labels
No labels