Редактирование кода:
См Результат »
Попробуй сам - ©
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.