Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *{
- padding:0px;
- margin:0px;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- }
- .accordion{
- border:1px solid #818181;
- margin:1em;
- }
- .accordion .accordion-header{
- padding:1em;
- background: #818181;
- color:#fff;
- cursor: pointer;
- }
- .accordion .accordion-content{
- height:0px;
- overflow: hidden;
- transition: height 1s;
- }
- .content{
- padding:1em;
- }
- #accordion-toggle{
- float:right
- }
- .accordion .accordion-content.open{
- padding:1em .5em 1em 1em;
- height:200px;
- }
Add Comment
Please, Sign In to add comment