6 ms·
How about if you want to override just one part? It doesn't make much sense with "padding", but for something like "border: red solid 2px;", how do you overrid
by fractaled 13y ago
How about if you want to override just one part?
It doesn't make much sense with "padding", but for something like "border: red solid 2px;", how do you override just the color if you don't have the individual components broken out?
- chestnut-tree 13y agoGood point. I should have qualified what I wrote previously by saying some CSS properties (like padding) could be simplified with just one way of writing the syntax. I say simplified (but not necessarily shortened) because it means you no longer need to explain that property x can be written this way. Or it can be written that way. Or it can also be written yet another way.