"Two Pages Fader with Tab"
Bootstrap 3.1.0 Snippet by Marnoweb

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="tab-content container"> <div class="tab-pane fade in active" id="pa1"> <div class="row"> <div class="panel panel-default"> <div class="panel-header well"> <h1 class="text-center">Lorem Ipsum</h1> <hr/> </div> <div class="panel-body"> <div class="jumbotron"> <h3 class="text-center">Into the Ipsum...</h3> <div class="media"> <a class="pull-left" href="#"> <img class="media-object thumbnail" src="http://placehold.it/80x120" alt="placeholder"> </a> <div class="media-body"> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Cupiditate porro quam nulla! Veniam, dolorum, veritatis, voluptates, animi incidunt suscipit porro placeat vitae quibusdam eum asperiores ab repudiandae commodi autem molestias sed tempora soluta illo aut voluptatibus consequatur dolore provident nisi. </p> </div> </div> </div> </div> </div> </div> </div> <div class="tab-pane fade" id="pa2"> <div class="row"> <div class="panel panel-default"> <div class="panel-header well"> <h1 class="text-center">Lorem Ipsum Errare</h1> <hr/> </div> <div class="panel-body"> <div class="jumbotron"> <div class="col-md-3"> <img src="http://placehold.it/350x100.png" class="img-responsive img-rounded" alt=""/> </div> <div class="col-md-3"> <img src="http://placehold.it/350x100.png" class="img-responsive img-rounded" alt=""/> </div> <div class="col-md-3"> <img src="http://placehold.it/350x100.png" class="img-responsive img-rounded" alt=""/> </div> <div class="col-md-3"> <img src="http://placehold.it/350x100.png" class="img-responsive img-rounded" alt=""/> </div> <div class="container"> <h3 class="header text-center" >Into the Ipsum...</h3> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Cupiditate porro quam nulla! Veniam, dolorum, veritatis, voluptates, animi incidunt suscipit porro placeat vitae quibusdam eum asperiores ab repudiandae commodi autem molestias sed tempora soluta illo aut voluptatibus consequatur dolore provident nisi. </p> </div> </div> </div> </div> </div> </div> <div class="btn-group"> <button type="button" class="btn btn-info btn-sm" href="#pa1" data-toggle="tab">page 1</button> <button type="button" class="btn btn-default btn-sm" href="#pa2" data-toggle="tab">page 2</button> </div> </div>
.fade { opacity: 0; -webkit-transition: opacity .8s ease-in-out !important; transition: opacity .8s ease-in-out !important; } .panel-body{ padding:1em; }

Related: See More


Questions / Comments: