2
Found out over 60% of websites still use inline styles for critical layout - that blew my mind
I was digging through the HTTP Archive data last night while my kids were asleep, and I saw something wild. Over 60% of the sites they scanned still use inline styles for key stuff like nav bars and grids. That's from their 2024 CSS report, not some old stat. Makes me wonder how much of that is from plugins or drag-and-drop builders just vomiting inline code everywhere. Have any of you come across a site where the inline styles broke something funny because of specificity battles?
2 comments
Log in to join the discussion
Log In2 Comments
vera_roberts5d ago
Bet inline styles are the duct tape of the web these days.
3
burns.brooke5d ago
The real duct tape move is using them inside a component library where they might get shipped straight to the client, @vera_roberts, especially with how many folks forget to strip or extract them in the build step these days.
5