|
|
|
|
|
by onion2k
942 days ago
|
|
This is interesting because my first reaction was to recoil in horror at the idea of CSS without the cascade, but my second reaction was to realie you're actually describing approximately how Tailwind works eg small classes that you can use to apply an aspect of styling to a specific element, and use to build up to a design. Utility classes would be the obvious choice if you couldn't rely on the cascade any more. Tailwind styles still cascade but in a far more manageable and override-able way. Perhaps you're on to something. |
|