Home >Web Front-end >HTML Tutorial >css3 imitation Tmall sidebar_html/css_WEB-ITnose
Demo: http://jsfiddle.net/Adce2/
Main idea:
1. First draw the sidebar html.
2. Use css3 attributes to add display and hide animations to close sidebar-content respectively.
3. Use css3 keyframes to define animation styles.