content logo

Bootstrap Tabs:

Bootstrap Tabs with Header Effect

The goal of a tabs area is to let the users display a certain group or category of contents (links) one at a time. It is a really neat idea and helps you clean up the pages. Imagine if you had to put all the links to different main pages under every subpage. There simply would not have been enough space for you to put the actual content in. a simple tabs area can help you avoid such issues and increases the traffic of your website. All in all, you are going to want a professionally designed tabs area if you wish to have a lucrative site.

Here in this post, we have a normal yet effective Bootstrap animating tabs code to help you in the process of designing your website. Many websites use simple Bootstrap tabs and the important factor is that it gets the job done. Besides, simplicity is always beautiful and never gets old. Of course, to avoid making things too boring, the code features a Bootstrap tabs dynamic effect. The blue line under each item gets longer when you hover your mouse cursor over it to indicate that you are going to select that particular item. This is not a huge feature but offers a small bit of attractiveness to the tabs area so it’s not pale. If you are interested to use this Bootstrap tabs dynamic effect for your own website, you can do so without paying anything.

#

Bootstrap Dynamic Tabs Header

#

Bootstrap Animating Tabs

#

Bootstrap Tabs Dynamic Effect

<!-- This script got from frontendfreecode.com -->
<ul class="nav nav-tabs material_tabs">
	<li role="presentation" class="active"><a href="#home" class="material_tabs_item" data-toggle="tab">Home</a></li>
	<li role="presentation"><a href="#profile" class="material_tabs_item" data-toggle="tab">Profile</a></li>
	<li role="presentation" class="disabled"><a href="javascript:void(0)" class="material_tabs_item">disabled</a></li>
</ul>
<div id="myTabContent" class="tab-content materail_tab_content">
	  <div role="tabpanel" class="tab-pane fade active in" id="home" aria-labelledby="home-tab">
		<p>Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.</p>
	  </div>
	  <div role="tabpanel" class="tab-pane fade" id="profile" aria-labelledby="profile-tab">
		<p>Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.</p>
	  </div>
</div><a style="font-size: 8pt; text-decoration: none" target="_blank" href="http://frontendfreecode.com">Free Frontend</a>
                                                                            
.material_tabs .material_tabs_item {
  text-align: center;
  vertical-align: top;
  padding: 15px 20px;
  border: none !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  font-size: 14px;
  color: #000;
  -webkit-transition: color 0.5s ease-out 0.1s;
  transition: color 0.5s ease-out 0.1s;
}
.material_tabs .material_tabs_item:hover,
.material_tabs .material_tabs_item:active,
.material_tabs .material_tabs_item:focus {
  background: none;
  outline: none;
}
.material_tabs .material_tabs_item:before,
.material_tabs .material_tabs_item:after {
  content: "";
  display: block;
  background-color: #4092d9;
  width: 25%;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 50%;
  -ms-transform: translateZ(0px) translate(-50%, 0);
  -webkit-transform: translateZ(0px) translate(-50%, 0);
  transform: translateZ(0px) translate(-50%, 0);
  -webkit-transition: width 0.5s ease-out 0.1s;
  transition: width 0.5s ease-out 0.1s;
}
.material_tabs .material_tabs_item:hover:before,
.material_tabs .material_tabs_item:hover:after {
  width: 100%;
}
.material_tabs .active .material_tabs_item:before,
.material_tabs .active .material_tabs_item:after {
  width: 100%;
}
.material_tabs .material_tabs_item:hover,
.material_tabs .active .material_tabs_item {
  color: #4092d9;
}
.material_tabs .disabled .material_tabs_item:before,
.material_tabs .disabled .material_tabs_item:after {
  width: 25%;
}
.materail_tab_content {
  padding: 15px 20px;
  box-shadow: 0 6px 13px rgba(0, 0, 0, 0.12);
}
<link href="http://netdna.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet">
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- This script got from frontendfreecode.com -->

<link href="http://netdna.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet">
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<style>
.material_tabs .material_tabs_item {
  text-align: center;
  vertical-align: top;
  padding: 15px 20px;
  border: none !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  font-size: 14px;
  color: #000;
  -webkit-transition: color 0.5s ease-out 0.1s;
  transition: color 0.5s ease-out 0.1s;
}
.material_tabs .material_tabs_item:hover,
.material_tabs .material_tabs_item:active,
.material_tabs .material_tabs_item:focus {
  background: none;
  outline: none;
}
.material_tabs .material_tabs_item:before,
.material_tabs .material_tabs_item:after {
  content: "";
  display: block;
  background-color: #4092d9;
  width: 25%;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 50%;
  -ms-transform: translateZ(0px) translate(-50%, 0);
  -webkit-transform: translateZ(0px) translate(-50%, 0);
  transform: translateZ(0px) translate(-50%, 0);
  -webkit-transition: width 0.5s ease-out 0.1s;
  transition: width 0.5s ease-out 0.1s;
}
.material_tabs .material_tabs_item:hover:before,
.material_tabs .material_tabs_item:hover:after {
  width: 100%;
}
.material_tabs .active .material_tabs_item:before,
.material_tabs .active .material_tabs_item:after {
  width: 100%;
}
.material_tabs .material_tabs_item:hover,
.material_tabs .active .material_tabs_item {
  color: #4092d9;
}
.material_tabs .disabled .material_tabs_item:before,
.material_tabs .disabled .material_tabs_item:after {
  width: 25%;
}
.materail_tab_content {
  padding: 15px 20px;
  box-shadow: 0 6px 13px rgba(0, 0, 0, 0.12);
}
</style>

</head>
<body>
<ul class="nav nav-tabs material_tabs">
	<li role="presentation" class="active"><a href="#home" class="material_tabs_item" data-toggle="tab">Home</a></li>
	<li role="presentation"><a href="#profile" class="material_tabs_item" data-toggle="tab">Profile</a></li>
	<li role="presentation" class="disabled"><a href="javascript:void(0)" class="material_tabs_item">disabled</a></li>
</ul>
<div id="myTabContent" class="tab-content materail_tab_content">
	  <div role="tabpanel" class="tab-pane fade active in" id="home" aria-labelledby="home-tab">
		<p>Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.</p>
	  </div>
	  <div role="tabpanel" class="tab-pane fade" id="profile" aria-labelledby="profile-tab">
		<p>Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.</p>
	  </div>
</div><div id="bcl"><a style="font-size:8pt;text-decoration:none;" href="http://www.devanswer.com">Free Frontend</a></div>

</body>
</html>
Preview