Skip to content

Instantly share code, notes, and snippets.

Created April 5, 2017 12:57
Show Gist options
  • Select an option

  • Save anonymous/eb750ee649e8720bd06322b389cb307d to your computer and use it in GitHub Desktop.

Select an option

Save anonymous/eb750ee649e8720bd06322b389cb307d to your computer and use it in GitHub Desktop.
JS Bin // source http://jsbin.com/setasifoda
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<script src="https://code.jquery.com/jquery.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<style id="jsbin-css">
.vertical-tabs li{
float: none;
}
.vertical-tabs li a{
border-right-color: #ddd;
border-right-width:0;
}
.vertical-tabs .active a {
border-right-color: transparent !important;
}
.is-table-row {
display: table;
}
.is-table-row [class*="col-"] {
float: none;
display: table-cell;
vertical-align: top;
}
.vertical-section{
background: #011;
padding:0;
}
</style>
</head>
<body>
<div class="is-table-row">
<!-- Nav tabs -->
<div class="col-xs-4 vertical-section">
<ul class="nav nav-tabs vertical-tabs" role="tablist">
<li><a>Nodes</a></li>
<li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">Home</a> </li>
<li role="presentation"><a href="#profile" aria-controls="profile" role="tab" data-toggle="tab">Profile</a> </li>
<li role="presentation"><a href="#messages" aria-controls="messages" role="tab" data-toggle="tab">Messages</a> </li>
<li role="presentation"><a href="#settings" aria-controls="settings" role="tab" data-toggle="tab">Settings</a> </li>
</ul>
</div>
<!-- Tab panes -->
<div class="col-xs-8">
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="home">
<div>
<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist">
<li><a></a></li>
<li role="presentation" class="active"><a href="#hom" aria-controls="home" role="tab" data-toggle="tab">Home</a> </li>
<li role="presentation"><a href="#pro" aria-controls="pro" role="tab" data-toggle="tab">Profile</a> </li>
</ul>
<!-- Tab panes -->
<div class="col-xs-8">
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="hom">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</div>
<div role="tabpanel" class="tab-pane" id="pro">sub 2</div>
</div>
</div>
</div>
</div>
<div role="tabpanel" class="tab-pane" id="profile">tba2</div>
<div role="tabpanel" class="tab-pane" id="messages">tab3.</div>
<div role="tabpanel" class="tab-pane" id="settings">tab4</div>
</div>
</div>
</div>
<script id="jsbin-source-css" type="text/css">.vertical-tabs li{
float: none;
}
.vertical-tabs li a{
border-right-color: #ddd;
border-right-width:0;
}
.vertical-tabs .active a {
border-right-color: transparent !important;
}
.is-table-row {
display: table;
}
.is-table-row [class*="col-"] {
float: none;
display: table-cell;
vertical-align: top;
}
.vertical-section{
background: #011;
padding:0;
}</script>
</body>
</html>
.vertical-tabs li{
float: none;
}
.vertical-tabs li a{
border-right-color: #ddd;
border-right-width:0;
}
.vertical-tabs .active a {
border-right-color: transparent !important;
}
.is-table-row {
display: table;
}
.is-table-row [class*="col-"] {
float: none;
display: table-cell;
vertical-align: top;
}
.vertical-section{
background: #011;
padding:0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment