| |||||
Uses uses adjacent and general sibling combinators and the :checked pseudo-class.
Under the hood, the accordion can be powered by radio buttons or checkboxes.
Using radio buttons, only one panel can be opened at a time.
When using checkboxes, multiple panels can be opened.
Also, at page load, some panels can be opened by default.
A demo is included with the download package.
Requirements:
· CSS 3 enabled browser

Via: Accordion with CSS3






0 Comment:
Post a Comment