Created
November 23, 2015 20:09
-
-
Save shaik2many/fdc4a6f52bed769f677f to your computer and use it in GitHub Desktop.
bootstrap-tabbable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> | |
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> | |
</head> | |
<body> | |
<div class="container"> | |
<h3>Tabs</h3> | |
<div class="tabbable"> <!-- Only required for left/right tabs --> | |
<ul class="nav nav-tabs"> | |
<li class="active"><a href="#tab1" data-toggle="tab">Section 1</a></li> | |
<li><a href="#tab2" data-toggle="tab">Section 2</a></li> | |
</ul> | |
<div class="tab-content"> | |
<div class="tab-pane active" id="tab1"> | |
<p>I'm in Section 1.</p> | |
</div> | |
<div class="tab-pane" id="tab2"> | |
<p>Howdy, I'm in Section 2.</p> | |
</div> | |
</div> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment