News for hackers. Stuff that matters.
Re:Tailwind CSS v3.3 by lcnPylGDnU4H9OF on Wednesday March 29, 2023 @02:10PM (#35361005)
Is there a way to implement responsive inline styling (e.g. class="flex-col lg:flex-row") in pure CSS? I remember thinking a lot about what Tailwind offers and I came up with that and a vague sense that I probably just don't know CSS well enough to have an opinion I'm comfortable with.

Edit: I guess this question kinda doesn't make sense. There's a lot of CSS syntax that isn't available inline in the style attribute and the example I gave can be done with "traditional" CSS classes. The thing I'm really considering is how one can semantically choose HTML elements while using small bits of inline "styling" (read: atomic CSS classes masquerading as styles) to change the properties which need changing and forego CSS otherwise.

Anyway, ultimately I don't think that's necessarily better than other styling implementations.

There are no comments on this comment yet.