Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wow this is really cool and well designed. Sorry for this simple question but what did you use to get the nice sliding like animation? Is that intentional or just a result of updating the currently selected article?


Thank you very much!

Good question. The content part is actually moved left and right using CSS transforms. The sliding animation is just a result of adding a transition for this property.

Hope this helps. Otherwise just ask ;)




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: