DIFF.BLOG
New Following Discover Jobs
More
Top Writers Suggest a blog Upvotes plugin
Report bug Contact About
Sign up
Topics
Follow your own topics →
Menu
New Following Discover Jobs Top Writers
More
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

Future CSS: :drag (and Maybe ::dragged-image?)

15 · CSS-Tricks · Jan. 7, 2026, 4:06 p.m.
articles csswg pseudo classes CSS Web Development UI Design Styling Elements
Summary
The blog post discusses potential future CSS features, particularly the :drag selector and possibly the ::dragged-image pseudo-element, and how these could simplify styling elements during drag-and-drop operations.
Read full post on css-tricks.com →
MORE POSTS LIKE THIS
prop-for-that: CSS reacts, JS just listens [link]
Remy Sharp · Jun 19, 2026
CSS Javascript
Sneaky Header Blocker Trick
joshwcomeau · Mar 23, 2026
CSS UI Design
Directional CSS with scroll-state(scrolled)
Una Kravets · Dec 17, 2025
CSS Web Development
Progress Bar Labels with CSS Anchor Positioning
Eana Hufwe · Nov 29, 2025
tech anchor positioning
Can’t touch the DOM? Reach for :has() to style any element
Thoughtbot · Aug 17, 2026
CSS Web Development
CSS Container Queries
Flaviocopes · Aug 17, 2026
CSS container-queries
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub Continue with Google