JSDM

Loading ..................

CSS Responsive animated Accordion

描述

I wanted to make a nice animated accordion that didn't rely on jQuery and used a definition list. This relies on javascript for the interactions (using the classie helpers) but uses CSS for all of the animations.

There are some magic numbers in here - as I was animating max height to achieve the accordion effect.

This is best viewed in full mode - seems to flicker a little in codepen's editor mode. Technically, it's responsive - but on a small device this toggle could be potent

评论

  1. 暂无评论

发表评论 支持Markdown

你必须 登录 之后才可以留言
  • 2982 查看
  • 0 评论
  • 0 喜爱

暂无点赞的用户

暂无Fork