#
DIFF.BLOG
New
Following
Discover
Jobs
More
Top Writers
Suggest a blog
Upvotes plugin
Report bug
Contact
About
Sign up
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS
Can’t touch the DOM? Reach for :has() to style any element
·
Thoughtbot
·
Aug. 17, 2026, 12:37 a.m.
CSS
Web Development
Styling Techniques
Javascript
Summary
The blog post discusses how the CSS pseudo-selector :has() can empower developers to style elements in ways that third-party component libraries may restrict, without relying on JavaScript.
Read full post on feed.thoughtbot.com →
MORE POSTS LIKE THIS
Let’s Use the Emergent CSS random() Function in all the Browsers
CSS-Tricks ·
Aug 31, 2026
articles
Random
A deep dive into StyleX
Flaviocopes ·
Aug 27, 2026
StyleX
Javascript
Controlling when CSS custom properties are computed
jakearchibald ·
Aug 26, 2026
CSS
Web Development
How to Create Accessible Modals and Pop-ups Using HTML, CSS, and Minimal JavaScript
freeCodeCamp.org ·
Jul 18, 2026
CSS
accessibility
Web Weekly #196 (#blogPost)
Stefanjudis ·
Jul 13, 2026
newsletter
blogPost
How I'm using CSS View Transitions on this blog
Max Glenister ·
Jul 7, 2026
Web Development
CSS
Discover more posts →
AUTHOR
Sponsored
Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google