You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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;
The text was updated successfully, but these errors were encountered:
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:
Expected:
The computed font size should be 24px;
The text was updated successfully, but these errors were encountered: