"tab"
Bootstrap 3.0.0 Snippet by evarevirus

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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 ----------> <!DOCTYPE html><html class=''> <head><script src='//production-assets.codepen.io/assets/editor/live/console_runner-079c09a0e3b9ff743e39ee2d5637b9216b3545af0de366d4b9aad9dc87e26bfd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/events_runner-73716630c22bbc8cff4bd0f07b135f00a0bdc5d14629260c3ec49e5606f98fdd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/css_live_reload_init-2c0dc5167d60a5af3ee189d570b1835129687ea2a61bee3513dee3a50c115a77.js'></script><meta charset='UTF-8'><meta name="robots" content="noindex"><link rel="shortcut icon" type="image/x-icon" href="//production-assets.codepen.io/assets/favicon/favicon-8ea04875e70c4b0bb41da869e81236e54394d63638a1ef12fa558a4a835f1164.ico" /><link rel="mask-icon" type="" href="//production-assets.codepen.io/assets/favicon/logo-pin-f2d2b6d2c61838f7e76325261b7195c27224080bc099486ddd6dccb469b8e8e6.svg" color="#111" /><link rel="canonical" href="https://codepen.io/edsonfilho10/pen/EPYQwV?depth=everything&order=popularity&page=28&q=tab&show_forks=false" /> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> <link rel='stylesheet prefetch' href='//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css'> <style class="cp-pen-styles">@charset "UTF-8"; div.bhoechie-tab-container { z-index: 10; background-color: #ffffff; padding: 0 !important; border-radius: 4px; -moz-border-radius: 4px; border: 1px solid #ddd; margin-top: 5px; margin-left: 5px; -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); -moz-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); background-clip: padding-box; opacity: 0.97; filter: alpha(opacity=97); height: 345px; } div.bhoechie-tab-menu { padding-right: 0; padding-left: 0; padding-bottom: 0; } div.bhoechie-tab-menu div.list-group { margin-bottom: 0; } div.bhoechie-tab-menu div.list-group > a { margin-bottom: 0; } div.bhoechie-tab-menu div.list-group > a .glyphicon, div.bhoechie-tab-menu div.list-group > a .fa { color: #099AE1; /* link roxo e agora tá azul*/ } div.bhoechie-tab-menu div.list-group > a:first-child { border-top-right-radius: 0; -moz-border-top-right-radius: 0; } div.bhoechie-tab-menu div.list-group > a:last-child { border-bottom-right-radius: 0; -moz-border-bottom-right-radius: 0; } div.bhoechie-tab-menu div.list-group > a.active, div.bhoechie-tab-menu div.list-group > a.active .glyphicon, div.bhoechie-tab-menu div.list-group > a.active .fa { background-color: #6C6C6C; background-image: #6C6C6C; color: #FFFFFF; } div.bhoechie-tab-menu div.list-group > a.active:after { content: ''; position: absolute; left: 100%; top: 50%; margin-top: -13px; border-left: 0; border-bottom: 13px solid transparent; border-top: 13px solid transparent; border-left: 10px solid #6C6C6C; } div.bhoechie-tab-content { background-color: #ffffff; /* border: 1px solid #eeeeee; */ padding-left: 20px; padding-top: 10px; } div.bhoechie-tab div.bhoechie-tab-content:not(.active) { display: none; } @media (max-width: 470px) { .list-group p { display: none; } } </style></head><body> <div class="container"> <div class="row"> <div class="col-lg-5 col-md-5 col-sm-8 col-xs-9 bhoechie-tab-container"> <div class="col-lg-3 col-md-3 col-sm-3 col-xs-3 bhoechie-tab-menu"> <div class="list-group"> <a href="#" class="list-group-item active text-center"> <h4 class="fa fa-facebook"></h4><br/><p>Facebook</p> </a> <a href="#" class="list-group-item text-center"> <h4 class="fa fa-youtube-play"></h4><br/><p>Youtube</p> </a> <a href="#" class="list-group-item text-center"> <h4 class="fa fa-twitter"></h4><br/><p>Twitter</p> </a> <a href="#" class="list-group-item text-center"> <h4 class="fa fa-instagram"></h4><br/><p>Instagram</p> </a> <!--<a href="#" class="list-group-item text-center"> <h4 class="glyphicon glyphicon-credit-card"></h4><br/>Opcional </a>--> </div> </div> <div class="col-lg-9 col-md-9 col-sm-9 col-xs-9 bhoechie-tab"> <div class="bhoechie-tab-content active"> <center> <h1 class="fa fa-facebook" style="font-size:14em;color:#3B5998"></h1> <h2 style="margin-top: 0;color:#55518a">Em Breve</h2> <h3 style="margin-top: 0;color:#55518a">Janela do Facebook</h3> </center> </div> <div class="bhoechie-tab-content"> <center> <h1 class="fa fa-youtube-play" style="font-size:12em;color:#e52d27"></h1> <h2 style="margin-top: 0;color:#55518a">Em Breve</h2> <h3 style="margin-top: 0;color:#55518a">Canal do Youtube Aqui</h3> </center> </div> <div class="bhoechie-tab-content"> <center> <h1 class="fa fa-twitter" style="font-size:12em;color:#00aced"></h1> <h2 style="margin-top: 0;color:#55518a">Em Breve</h2> <h3 style="margin-top: 0;color:#55518a">Postagens do Twitter</h3> </center> </div> <div class="bhoechie-tab-content"> <center> <h1 class="fa fa-instagram" style="font-size:12em;color:#125688"></h1> <h2 style="margin-top: 0;color:#55518a">Em Breve</h2> <h3 style="margin-top: 0;color:#55518a">Album do Instagram</h3> </center> </div> <!--<div class="bhoechie-tab-content"> <center> <h1 class="glyphicon glyphicon-credit-card" style="font-size:12em;color:#55518a"></h1> <h2 style="margin-top: 0;color:#55518a">Cooming Soon</h2> <h3 style="margin-top: 0;color:#55518a">Credit Card</h3> </center> </div>--> </div> </div> </div> </div> <script src='//production-assets.codepen.io/assets/common/stopExecutionOnTimeout-b2a7b3fe212eaa732349046d8416e00a9dec26eb7fd347590fbced3ab38af52e.js'></script><script src='//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script >/* Esse widget não foi criado por mim, apenas adaptado ... ele trabalha com Jquery, e Bootstrap, importe as bibliotecas do mesmo e faça bom uso \o */ $(document).ready(function() { $("div.bhoechie-tab-menu>div.list-group>a").click(function(e) { e.preventDefault(); $(this).siblings('a.active').removeClass("active"); $(this).addClass("active"); var index = $(this).index(); $("div.bhoechie-tab>div.bhoechie-tab-content").removeClass("active"); $("div.bhoechie-tab>div.bhoechie-tab-content").eq(index).addClass("active"); }); }); //# sourceURL=pen.js </script> </body></html>

Related: See More


Questions / Comments: