"Bootstrap Tabs"
Bootstrap 4.0.0 Snippet by CreativeTim

<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 ----------> <head> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons"> <link rel="stylesheet" href="https://unpkg.com/bootstrap-material-design@4.1.1/dist/css/bootstrap-material-design.min.css" integrity="sha384-wXznGJNEXNG1NFsbm0ugrLFMQPWswR3lds2VeinahP8N0zJw9VWSopbjv2x7WCvX" crossorigin="anonymous"> <link href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css" rel="stylesheet"> <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Roboto+Slab:400,700|Material+Icons"> </head> <body> <div class="container"> <div class="title"> <h3>Navigation Tabs</h3> </div> <div class="row"> <div class="col-md-6"> <h3><small>Tabs with Icons on Card</small></h3> <!-- Tabs with icons on Card --> <div class="card card-nav-tabs"> <div class="card-header card-header-primary"> <!-- colors: "header-primary", "header-info", "header-success", "header-warning", "header-danger" --> <div class="nav-tabs-navigation"> <div class="nav-tabs-wrapper"> <ul class="nav nav-tabs" data-tabs="tabs"> <li class="nav-item"> <a class="nav-link active" href="#profile" data-toggle="tab"> <i class="material-icons">face</i> Profile </a> </li> <li class="nav-item"> <a class="nav-link" href="#messages" data-toggle="tab"> <i class="material-icons">chat</i> Messages </a> </li> <li class="nav-item"> <a class="nav-link" href="#settings" data-toggle="tab"> <i class="material-icons">build</i> Settings </a> </li> </ul> </div> </div> </div><div class="card-body "> <div class="tab-content text-center"> <div class="tab-pane active" id="profile"> <p> I will be the leader of a company that ends up being worth billions of dollars, because I got the answers. I understand culture. I am the nucleus. I think that’s a responsibility that I have, to push possibilities, to show people, this is the level that things could be at. I think that’s a responsibility that I have, to push possibilities, to show people, this is the level that things could be at. </p> </div> <div class="tab-pane" id="messages"> <p> I think that’s a responsibility that I have, to push possibilities, to show people, this is the level that things could be at. I will be the leader of a company that ends up being worth billions of dollars, because I got the answers. I understand culture. I am the nucleus. I think that’s a responsibility that I have, to push possibilities, to show people, this is the level that things could be at.</p> </div> <div class="tab-pane" id="settings"> <p>I think that’s a responsibility that I have, to push possibilities, to show people, this is the level that things could be at. So when you get something that has the name Kanye West on it, it’s supposed to be pushing the furthest possibilities. I will be the leader of a company that ends up being worth billions of dollars, because I got the answers. I understand culture. I am the nucleus.</p> </div> </div> </div></div> <!-- End Tabs with icons on Card --> </div> <div class="col-md-6"> <h3><small>Tabs on Plain Card</small></h3> <!-- Tabs on Plain Card --> <div class="card card-nav-tabs card-plain"> <div class="card-header card-header-danger"> <!-- colors: "header-primary", "header-info", "header-success", "header-warning", "header-danger" --> <div class="nav-tabs-navigation"> <div class="nav-tabs-wrapper"> <ul class="nav nav-tabs" data-tabs="tabs"> <li class="nav-item"> <a class="nav-link active" href="#home" data-toggle="tab">Home</a> </li> <li class="nav-item"> <a class="nav-link" href="#updates" data-toggle="tab">Updates</a> </li> <li class="nav-item"> <a class="nav-link" href="#history" data-toggle="tab">History</a> </li> </ul> </div> </div> </div><div class="card-body "> <div class="tab-content text-center"> <div class="tab-pane active" id="home"> <p>I think that’s a responsibility that I have, to push possibilities, to show people, this is the level that things could be at. So when you get something that has the name Kanye West on it, it’s supposed to be pushing the furthest possibilities. I will be the leader of a company that ends up being worth billions of dollars, because I got the answers. I understand culture. I am the nucleus.</p> </div> <div class="tab-pane" id="updates"> <p> I will be the leader of a company that ends up being worth billions of dollars, because I got the answers. I understand culture. I am the nucleus. I think that’s a responsibility that I have, to push possibilities, to show people, this is the level that things could be at. I think that’s a responsibility that I have, to push possibilities, to show people, this is the level that things could be at. </p> </div> <div class="tab-pane" id="history"> <p> I think that’s a responsibility that I have, to push possibilities, to show people, this is the level that things could be at. I will be the leader of a company that ends up being worth billions of dollars, because I got the answers. I understand culture. I am the nucleus. I think that’s a responsibility that I have, to push possibilities, to show people, this is the level that things could be at.</p> </div> </div> </div></div> <!-- End Tabs on plain Card --> </div> </div> </div> <footer class="footer text-center "> <p>Made with <a href="https://demos.creative-tim.com/material-kit/index.html" target="_blank">Material Kit</a> by Creative Tim</p> </footer> <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> <script src="https://unpkg.com/popper.js@1.12.6/dist/umd/popper.js" integrity="sha384-fA23ZRQ3G/J53mElWqVJEGJzU0sTs+SvzG8fXVWP+kJQ1lwFAOkcUOysnlKJC33U" crossorigin="anonymous"></script> <script src="https://unpkg.com/bootstrap-material-design@4.1.1/dist/js/bootstrap-material-design.js" integrity="sha384-CauSuKpEqAFajSpkdjv3z9t8E7RlpJ1UP0lKM/+NdtSarroVKu069AlsRPKkFBz9" crossorigin="anonymous"></script> </body>
html *{ -webkit-font-smoothing: antialiased; } h3{ font-size: 25px !important; margin-top: 20px; margin-bottom: 10px; line-height: 1.4em !important; } p { font-size: 14px; margin: 0 0 10px !important; font-weight: 300; } small { font-size: 75%; color: #777; font-weight: 400; } .container .title{ color: #3c4858; text-decoration: none; margin-top: 30px; margin-bottom: 25px; min-height: 32px; } .container .title h3{ font-size: 25px; font-weight: 300; } div.card { border: 0; margin-bottom: 30px; margin-top: 30px; border-radius: 6px; color: rgba(0,0,0,.87); background: #fff; width: 100%; box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12); } div.card.card-plain { background: transparent; box-shadow: none; } div.card .card-header { border-radius: 3px; padding: 1rem 15px; margin-left: 15px; margin-right: 15px; margin-top: -30px; border: 0; background: linear-gradient(60deg,#eee,#bdbdbd); } .card-plain .card-header:not(.card-avatar) { margin-left: 0; margin-right: 0; } .div.card .card-body{ padding: 15px 30px; } div.card .card-header-primary { background: linear-gradient(60deg,#ab47bc,#7b1fa2); box-shadow: 0 5px 20px 0 rgba(0,0,0,.2), 0 13px 24px -11px rgba(156,39,176,.6); } div.card .card-header-danger { background: linear-gradient(60deg,#ef5350,#d32f2f); box-shadow: 0 5px 20px 0 rgba(0,0,0,.2), 0 13px 24px -11px rgba(244,67,54,.6); } .card-nav-tabs .card-header { margin-top: -30px!important; } .card .card-header .nav-tabs { padding: 0; } .nav-tabs { border: 0; border-radius: 3px; padding: 0 15px; } .nav { display: flex; flex-wrap: wrap; padding-left: 0; margin-bottom: 0; list-style: none; } .nav-tabs .nav-item { margin-bottom: -1px; } .nav-tabs .nav-item .nav-link.active { background-color: hsla(0,0%,100%,.2); transition: background-color .3s .2s; } .nav-tabs .nav-item .nav-link{ border: 0!important; color: #fff!important; font-weight: 500; } .nav-tabs .nav-item .nav-link { color: #fff; border: 0; margin: 0; border-radius: 3px; line-height: 24px; text-transform: uppercase; font-size: 12px; padding: 10px 15px; background-color: transparent; transition: background-color .3s 0s; } .nav-link{ display: block; } .nav-tabs .nav-item .material-icons { margin: -1px 5px 0 0; vertical-align: middle; } .nav .nav-item { position: relative; } footer{ margin-top:100px; color: #555; background: #fff; padding: 25px; font-weight: 300; } .footer p{ margin-bottom: 0; font-size: 14px; margin: 0 0 10px; font-weight: 300; } footer p a{ color: #555; font-weight: 400; } footer p a:hover { color: #9f26aa; text-decoration: none; }
$(document).ready(function() { $('body').bootstrapMaterialDesign(); });

Related: See More


Questions / Comments: