/ Published in: CSS

CSS - Page Component - Accordion
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
.accordion { } .accordion .tab { border-bottom-width:1px; border-bottom-style:solid; } .accordion .tab a { display:block; padding:10px 20px; border-width:1px; border-style:solid; } .accordion .tab a:hover { } .accordion .tab a.active { border-bottom:0 none; position:relative; } .accordion .pane { display:none; padding:0 20px 10px; border-width:1px; border-style:solid; border-top:0 none; }
Comments
