News for hackers. Stuff that matters.
Re:Why Tailwind CSS Won by kevlened on Wednesday August 16, 2023 @09:36AM (#37146791)
While it's true that there's no way to create a "non-cascading style rule", Tailwind allows you to mostly ignore the cascade (except for the normalization stylesheet), because everything is effectively an inline style.

That said, ignoring the cascade is a strength, because the first step in the cascade (css selector specificity) is remarkably complex [0], and can be a source of errors.

[0] https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity

There are no comments on this comment yet.