3 ms·
And if somebody doesn't use the library, but pixels or percentages, you get the same problem. You can't use a library to replace communication in a team. But h
by cel1ne 10y ago
And if somebody doesn't use the library, but pixels or percentages, you get the same problem. You can't use a library to replace communication in a team.
But having 7 rem-relative steps, that fit together makes the common use-case way easier: Joe: "I need more padding on this, so I use pa2 instead of pa1".
If you feel the urge to check your code base it's easy to write scripts that count the occurences of "pa1..pa7". It's not so easy if you have to take into account "padding: 1px", "padding: 20%", "padding: 3em" etc.