#accordion { margin:0 auto; width:400px;} ul { margin:0; padding:0; } ul li { list-style:none; border:1px 1px 1px 1px #efefef solid; background-color:#34495e; } ul li h2 { margin:0; padding:10px; font-size:18px; font-family:Arial, Helvetica, sans-serif; color:#ecf0f1; border-bottom:1px #efefef solid; } ul li a { text-decoration:none; } ul li .content { height: 0; overflow:hidden; } ul li .content:target { height:auto; border-bottom:1px #efefef solid; } ul li .content p { padding:10px; color:#ecf0f1; }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.