"Sidebar with tabs"
Bootstrap 3.1.0 Snippet by jorgetuyin

<div class="container"> <div class="col-sm-2"> <nav class="nav-sidebar"> <ul class="nav tabs"> <li class="active"><a href="#tab1" data-toggle="tab">Lorem ipsum</a></li> <li class=""><a href="#tab2" data-toggle="tab">Dolor asit amet</a></li> <li class=""><a href="#tab3" data-toggle="tab">Stet clita</a></li> </ul> </nav> <div><h2 class="add">Place for your add!</h2></div> </div> <!-- tab content --> <div class="tab-content"> <div class="tab-pane active text-style" id="tab1"> <h2>Lorem ipsum</h2> <p> 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. </p> <hr> <img src="http://placehold.it/350x250" class="img-rounded pull-right"> </div> <div class="tab-pane text-style" id="tab2"> <h2>Dolor asit amet</h2> <p>Dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</p> <hr> <img src="http://placehold.it/150x90" class="img-rounded pull-left"> </div> <div class="tab-pane text-style" id="tab3"> <h2>Stet clita</h2> <p>Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet,</p> <hr> <div class="col-xs-6 col-md-3"> <img src="http://placehold.it/150x150" class="img-rounded pull-right"> </div> </div> </div> </div>
.blogShort{ border-bottom:1px solid #ddd;} .add{background: #333; padding: 10%; height: 300px;} .nav-sidebar { width: 100%; padding: 30px 0; border-right: 1px solid #ddd; } .nav-sidebar a { color: #333; -webkit-transition: all 0.08s linear; -moz-transition: all 0.08s linear; -o-transition: all 0.08s linear; transition: all 0.08s linear; } .nav-sidebar .active a { cursor: default; background-color: #0b56a8; color: #fff; } .nav-sidebar .active a:hover { background-color: #E50000; } .nav-sidebar .text-overflow a, .nav-sidebar .text-overflow .media-body { white-space: nowrap; overflow: hidden; -o-text-overflow: ellipsis; text-overflow: ellipsis; } .btn-blog { color: #ffffff; background-color: #E50000; border-color: #E50000; border-radius:0; margin-bottom:10px } .btn-blog:hover, .btn-blog:focus, .btn-blog:active, .btn-blog.active, .open .dropdown-toggle.btn-blog { color: white; background-color:#0b56a8; border-color: #0b56a8; } article h2{color:#333333;} h2{color:#0b56a8;} .margin10{margin-bottom:10px; margin-right:10px;} .container .text-style { text-align: justify; line-height: 23px; margin: 0 13px 0 0; font-size: 19px; }

Similar snippets: See More


Comments:

comments powered by Disqus