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
EDIT: in fact I think that default base should be simply 1 (as float or 16 if you deal with px). This helper shouldn't have anything to do with unit IMO.
em
units are based on the font size of the element they’re used on whereasrem
units are based on the font size of the html element.I suggest to update modularScale signature to use
rem
as default.read more here https://webdesign.tutsplus.com/tutorials/comprehensive-guide-when-to-use-em-vs-rem--cms-23984
WDYT ?
The text was updated successfully, but these errors were encountered: