News for hackers. Stuff that matters.
Re:Show HN: ECSS – Simple rules for efficient CSS by emmacharp on Thursday March 14, 2024 @07:02AM (#39702353)
Yeah, I know about that. Still, a good point. Thanks.

Nevertheless, in practice, I haven't seen any perceptible performance cost in using attribute selectors. It may have been the case years ago, when browsers weren't as efficient or devices as powerful.

I'd say the reduction of specificity here is well worth the theoretical cost.

There are no comments on this comment yet.