"Card Accordion Bootstrap 4"
Bootstrap 3.3.0 Snippet by sshelzi

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!doctype html> <htm> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <link href='https://fonts.googleapis.com/css?family=Grand+Hotel' rel='stylesheet' type='text/css'> <link href="https://fonts.googleapis.com/css?family=Lato:400,100,700,900,300" rel="stylesheet" type="text/css"> <link href='https://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" /> <link href="https://file.myfontastic.com/tJWvc9oygTjgZbPMueorGB/icons.css" rel="stylesheet"> <link rel="stylesheet" href="https://cdn.rawgit.com/twbs/bootstrap/v4-dev/dist/css/bootstrap.css"> <script src="https://cdn.rawgit.com/twbs/bootstrap/v4-dev/dist/js/bootstrap.js"></script> </head> <body> <section style="padding: 6em 0em; background-color: #ccc;"> <div class="container"> <div class="row"> <div class="col-md-12 col-sm-12 col-xs-12"> <ul id="tabby-1" class="nav nav-pills nav-tabs nav-justified tabby-tabs" data-for="example-tab-content"> <li role="presentation"><a data-target="server" role="tab" data-default="true" data-tabbytoggle="tab" href="#">Server</a></li> <li role="presentation"><a data-target="desktop" role="tab" data-default="true" data-tabbytoggle="tab" href="#">Desktop</a></li> <li role="presentation"><a data-target="applications" role="tab" data-default="true" data-tabbytoggle="tab" href="#">Applications</a></li> <li role="presentation"><a data-target="database" role="tab" data-default="true" data-tabbytoggle="tab" href="#">Database</a></li> <li role="presentation"><a data-target="developer" role="tab" data-default="true" data-tabbytoggle="tab" href="#">Developer</a></li> </ul> </div><!--/.col-12--> <hr> <h4 class="cert">Windows Server Certifications</h4> <div id="accordion" role="tablist" aria-multiselectable="true"> <div class="card accordion-panel"> <div class="card-block accordion-heading" role="tab" id="server"> <h3 class="card-title accordion-title"> <a data-toggle="collapse" data-parent="#accordion" href="#windows-server" aria-expanded="true" aria-controls="collapseOne"> Entry Level: IT Infrastructure </a> </h3> </div> <div id="windows-server" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="windows-server"> <div class="accordion-content"> <div class="divider"></div> <p class="lead"> Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. </p> </div> </div> </div> <div class="card accordion-panel"> <div class="card-block accordion-heading" role="tab" id="headingTwo"> <h3 class="card-title accordion-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo"> Collapsible Group Item #1 </a> </h3> </div> <div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo"> <div class="accordion-content"> <div class="divider"></div> <p class="lead"> Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. </p> </div> </div> </div> <div class="card accordion-panel"> <div class="card-block accordion-heading" role="tab" id="headingThree"> <h3 class="card-title accordion-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree"> Collapsible Group Item #1 </a> </h3> </div> <div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree"> <div class="accordion-content"> <div class="divider"></div> <p class="lead"> Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. </p> </div> </div> </div> </div> </div> </div> </section> </body> </html>
body { font-family: 'Lato', sans-serif; } a { text-decoration: none!important; } .card { border-radius: 10px!important; border-bottom: 5px solid #eee!important; } .accordion-panel { text-align: center; display: block; text-decoration: none; -webkit-transition: background-color 0.5s ease-in-out; -moz-transition: background-color 0.5s ease-in-out; -o-transition: background-color 0.5s ease-in-out; transition: background-color 0.5s ease-in-out; border-left: none!important; border-right: none!important; border-top: none!important; box-shadow: none; border-radius: 10px; } .accordion-title { text-transform: uppercase; font-weight: 100!important; padding: .75em!important; border-top-left-radius: 10px; border-top-right-radius: 10px; margin-bottom: 0!important; } .accordion-title>a:hover { text-decoration: none!important; } .accordion-content { margin: 0em 3em 3em 3em; } .divider { height: 3px; border-radius: 3px; margin: 0em 3em 3em 3em; background: #eee; }

Related: See More


Questions / Comments: