FONT SIZING WITH REM / EM / PX
The rem font-size unit is similar to em, only instead of cascading it's always relative to the root (html) element (more information). T...
https://iskablogs.blogspot.com/2014/03/font-sizing-with-rem-em-px.html
The rem font-size unit is similar to em, only instead of cascading it's always relative to the root (html) element (more information). This has pretty good modern browser support, it's just IE 8 and down we need to provide px fallbacks for.
Instead of repeating ourselves everywhere, we can use a LESS or SASS mixins to keep it clean. These mixins assumes:
This code also use "vairable" in CSS
Instead of repeating ourselves everywhere, we can use a LESS or SASS mixins to keep it clean. These mixins assumes:
This code also use "vairable" in CSS