Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
<!DOCTYPE html> <title>My Example</title> <!-- Latest compiled and minified Bootstrap CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> <style> body { padding-top: 1em; } </style> <div class="container-fluid"> <div id="faq" role="tablist" aria-multiselectable="true"> <div class="card"> <div class="card-header" role="tab" id="questionOne"> <h5 class="card-title"> <a data-toggle="collapse" data-parent="#faq" href="#answerOne" aria-expanded="true" aria-controls="answerOne"> What if my boots are too big for my feet? </a> </h5> </div> <div id="answerOne" class="collapse show" role="tabcard" aria-labelledby="questionOne"> <div class="card-body"> Stuff your boots with newspaper or tissue. </div> </div> </div> <div class="card"> <div class="card-header" role="tab" id="questionTwo"> <h5 class="card-title"> <a class="collapsed" data-toggle="collapse" data-parent="#faq" href="#answerTwo" aria-expanded="false" aria-controls="answerTwo"> Can I wear my boots inside? </a> </h5> </div> <div id="answerTwo" class="collapse" role="tabcard" aria-labelledby="questionTwo"> <div class="card-body"> No. Your mama should've told you about this. </div> </div> </div> <div class="card"> <div class="card-header" role="tab" id="questionThree"> <h5 class="card-title"> <a class="collapsed" data-toggle="collapse" data-parent="#faq" href="#answerThree" aria-expanded="true" aria-controls="answerThree"> What if my boots get slippery when wet? </a> </h5> </div> <div id="answerThree" class="collapse in" role="tabcard" aria-labelledby="questionThree"> <div class="card-body"> Keep your boots dry. </div> </div> </div> </div> </div> <!-- jQuery library --> <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> <!-- Popper --> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> <!-- Latest compiled and minified Bootstrap JavaScript --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script> <!-- Initialize Bootstrap functionality --> <script> // Initialize tooltip component $(function () { $('[data-toggle="tooltip"]').tooltip() }) // Initialize popover component $(function () { $('[data-toggle="popover"]').popover() }) </script>