Bootstrap 3 Template
This is a simple Twitter Bootstrap 3 template. You can fork it to get a ready to use Bootstrap 3 fiddle.
HTML
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
<ul class="nav nav-tabs">
<li role="presentation" class="active"><a href="#blue" data-toggle="tab">Blue</a></li>
<li role="presentation"><a href="#red" data-toggle="tab">Red</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active clearfix" id="blue">
<h3>Blue</h3>
</div>
<div class="tab-pane clearfix" id="red">
<h3>Red</h3>
</div>
</div>
CSS
/* Latest compiled and minified CSS included as External Resource*/
/* Optional theme */
@import url('//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-theme.min.css');
html {
height:100%;
margin: 0;
padding :0;
}
body {
height:100%;
background-color: #ffffa0;
margin: 0;
padding :0;
display:flex;
display: -webkit-flex;
display: -ms-flexbox;
flex-direction: column;
-webkit-flex-direction: column;
-ms-flex-direction: column;
}
.nav {
}
.tab-content {
/*height: calc(100% - 50px);*/
height: 100%;
margin: 0;
padding :0;
}
#red {
height: 100%;
background-color: #ffa0a0;
}
#blue {
height: 100%;
background-color: #a0a0ff;
}margin: 10px;
}
JavaScript
/* Latest compiled and minified JavaScript included as External Resource */