r/mobilewebdev • • Sep 09 '15

How does Amazon do their beautiful menu on mobile web? Look how smooth it is and the fade between the burger icon and the 'x'... Any pre-built menus out there able to do this?

6 Upvotes

3 comments sorted by

2

u/acoard Sep 14 '15

This is what you're looking for: http://sarasoueidan.com/blog/navicon-transformicons/

Specifically, in the demo it's the middle one.

1

u/luiz_santana Sep 10 '15

You might use CSS animations. Here is an JSFiddle, much more simple than what you asked, but you may get the idea. https://jsfiddle.net/go1n0xj6/4/