"Div hide and show"
Bootstrap 4.0.0 Snippet by dkstudio

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <div class="container"> <div id="panel">Hello world!</div> <div id="flip">Click to slide the panel down or up</div> </div>
#panel, #flip { padding: 5px; text-align: center; background-color: #e5eecc; border: solid 1px #c3c3c3; bottom: 0px; position: absolute; width: 100%; } #panel { padding: 50px; display: none; }
$(document).ready(function(){ $("#flip").click(function(){ $("#panel").slideToggle("slow"); }); });

Related: See More


Questions / Comments: