编辑代码:
查看结果 »
试一试 - ©
w3ii.com
Simple Collapsible
Simple collapsible
The .collapsing class is added when the transition starts, and removed when it is finished. In this example, the collapsible content gets a yellow background for those seconds it takes to show the content. The background color is removed when the transition has ended.