Hacker News new | past | comments | ask | show | jobs | submit login

You can do it with negative margins too, https://codepen.io/webstrand/pen/OPLLBZN



Wait is this better than the one in the OP?


This is really interesting. I suspect there may be different reasons to take different approaches depending on surrounding CSS and elements.

A lot of UI work I do is experimenting with different ways to do things to find what’s cleanest for the specific situation.

Small note that the drag UX doesn’t appear to work on iOS.


does "scatter" do anything? doesn't seem so to me on android chrome (pixel 7a)




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: