#
DIFF.BLOG
New
Following
Discover
Jobs
More
Top Writers
Suggest a blog
Upvotes plugin
Report bug
Contact
About
Privacy
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.
Web Development
Javascript
CSS
component-libraries
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
How to Build a Bulk Image Compressor Tool with HTML, CSS, and JavaScript
freeCodeCamp.org ·
Sep 18, 2026
Javascript
Web Development
Web Weekly #199 (#blogPost)
Stefanjudis ·
Sep 9, 2026
blogPost
newsletter
Let’s Use the Emergent CSS random() Function in all the Browsers
CSS-Tricks ·
Aug 31, 2026
articles
CSS functions
A deep dive into StyleX
Flaviocopes ·
Aug 27, 2026
Web Development
Javascript
Controlling when CSS custom properties are computed
jakearchibald ·
Aug 26, 2026
Web Development
CSS
How I'm using CSS View Transitions on this blog
Max Glenister ·
Jul 7, 2026
Web Development
CSS
Discover more posts →
AUTHOR
Advertise
Sponsor diff.blog
Put your product in front of developers who read and write about their craft. One exclusive sponsor at a time.
Become a sponsor →
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google
By continuing, you agree to our
Privacy Policy
.