UX Lift logo

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

A proposed CSS pseudo-class, :drag, could simplify styling for dragging elements, currently reliant on JavaScript. The article explores its potential alongside a suggested ::drag-image pseudo-element.

More from CSS Tricks

© 2026. Made in Manchester by Matt Kevan.

Privacy

Cookies

Contact