I wasted a day on CSS selector performance to make a website load 2ms faster

from blog Piccalilli - Everything, | ↗ original
Being the co-author of Every Layout and a super fan of wildcard selectors, as you can imagine, my mentions and DMs have been riddled with “wildcards are incredibly inefficient” for years. I of course brush that off because as Trys says in their article, browsers are very efficient at handling CSS selectors. When this article landed in my RSS...