3 ms·
BEM is awesome and simple mapped values in SCSS + functions let me do things like: padding: p(‘s’) p(‘m’); For that 8-px magic. c for colors, bp for breakpoi
by andrei_says_ 6y ago
BEM is awesome and simple mapped values in SCSS + functions let me do things like:
padding: p(‘s’) p(‘m’);
For that 8-px magic.
c for colors, bp for breakpoints, f for fonts etc.
This solves all the inconsistencies addressed by css frameworks and gives me slightly larger LEGO blocks.