3 ms·
> CSS has built-in color names. You can't be serious can you? Css has what around 150 color names? That is jut not good enough for any serious work. > Use !im
by dsego 8y ago
> CSS has built-in color names.
You can't be serious can you? Css has what around 150 color names? That is jut not good enough for any serious work.
> Use !important.
Please don't use !important, avoid it as much as possible.
It just compounds the issue.
> class="bg-blue" has to be repeated just as much as the equivalent background style
But the definition of what shade of blue we're using is in only one place. Forget bg-blue and think of theme-blue, theme-blue-highlight, theme-blue-mid and so on. A professional design needs vocabulary.
> You should use IDEs with autocomplete
Do these IDEs help with reading and interpretation?