"Ui-Kit-Metro Like Nav"
Bootstrap 3.2.0 Snippet by rmashhoon

<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.2.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 ----------> <link href='http://fonts.googleapis.com/css?family=Audiowide' rel='stylesheet' type='text/css'> <div class="container"> <h1 style="text-align: left; font-family: 'Audiowide', cursive; color: black;"><span class="glyphicon glyphicon-lock"></span> Safe Web Security</h1> <div class="row"> <div class="btn-group btn-group-justified"> <div class="btn-group"> <a href="" type="button" class="btn btn-nav btn-default"> <span class="glyphicon glyphicon-home"></span> <p>Home</p> </a> </div> <div class="btn-group"> <a href="" type="button" class="btn btn-nav btn-default"> <span class="glyphicon glyphicon-zoom-in"></span> <p>About Us</p> </a> </div> <div class="btn-group"> <a href="" type="button" class="btn btn-nav btn-default"> <span class="glyphicon glyphicon-cog"></span> <p>Services</p> </a> </div> <div class="btn-group"> <a href="" type="button" class="btn btn-nav btn-default"> <span class="glyphicon glyphicon-shopping-cart"></span> <p>Packages</p> </a> </div> <div class="btn-group"> <a href="" type="button" class="btn btn-nav btn-default"> <span class="glyphicon glyphicon-envelope"></span> <p>Contact Us</p> </a> </div> </div> </div> </div> <section class="section-white"> <div class="container"> <div id="carousel-example-generic" class="carousel slide" data-ride="carousel"> <!-- Indicators --> <ol class="carousel-indicators"> <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li> <li data-target="#carousel-example-generic" data-slide-to="1"></li> <li data-target="#carousel-example-generic" data-slide-to="2"></li> </ol> <!-- Wrapper for slides --> <div class="carousel-inner"> <div class="item active"> <img src="http://placehold.it/800x400" alt="..."> <div class="carousel-caption"> <h2>Heading</h2> </div> </div> <div class="item"> <img src="http://placehold.it/800x400" alt="..."> <div class="carousel-caption"> <h2>Heading</h2> </div> </div> <div class="item"> <img src="http://placehold.it/800x400" alt="..."> <div class="carousel-caption"> <h2>Heading</h2> </div> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#carousel-example-generic" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left"></span> </a> <a class="right carousel-control" href="#carousel-example-generic" data-slide="next"> <span class="glyphicon glyphicon-chevron-right"></span> </a> </div> </div> </section> <div class="container"> <h1 style="text-align: center;">Packages</h1> <div class="row"> <div class="span3"> <div class="col-md-4"> <div class="well"> <h2>Bronze</h2> <p><span class="label label-default">Low-Security</span></p> <div style="text-align: left;"> <p> ✔ User Account Security<br> ✔ User Login Security<br> ✔ Database Security<br> ✔ File System Security<br> ✔ Automatic File Backup<br> ✗ Firewall<br> ✗ Brute Force Security<br> ✗ Security Scanner<br> ✗ IP Blacklist<br> ✗ Comment SPAM<br> ✗ Customer Registration Security<br> </p> </div> <hr> <h3>$15.99 / month</h3> <hr> <p><a class="btn btn-primary btn-large" href="#"><i class="icon-ok"></i> Select plan</a></p> </div> </div> </div> <div class="span3"> <div class="col-md-4"> <div class="well"> <h2>Silver</h2> <p><span class="label label-primary">Medium-Security</span></p> <div style="text-align: left;"> <p> ✔ User Account Security<br> ✔ User Login Security<br> ✔ Database Security<br> ✔ File System Security<br> ✔ Automatic File Backup<br> ✔ Firewall<br> ✔ Brute Force Security<br> ✔ Security Scanner<br> ✗ IP Blacklist<br> ✗ Comment SPAM<br> ✗ Customer Registration Security<br> </p> </div> <hr> <h3>$10.99 / month</h3> <hr> <p><a class="btn btn-primary btn-large" href="#"><i class="icon-ok"></i> Select plan</a></p> </div> </div> </div> <div class="span3"> <div class="col-md-4"> <div class="well"> <h2>Gold</h2> <p><span class="label label-danger">High-Security</span></p> <div style="text-align: left;"> <p> ✔ User Account Security<br> ✔ User Login Security<br> ✔ Database Security<br> ✔ File System Security<br> ✔ Automatic File Backup<br> ✔ Firewall<br> ✔ Brute Force Security<br> ✔ Security Scanner<br> ✔ IP Blacklist<br> ✔ Comment SPAM<br> ✔ Customer Registration Security<br> </p> </div> <hr> <h3>$8.99 / month</h3> <hr> <p><a class="btn btn-primary btn-large" href="#"><i class="icon-ok"></i> Select plan</a></p> </div> </div> </div> </div> </div>
/* Makes images fully responsive */ .img-responsive, .thumbnail > img, .thumbnail a > img, .carousel-inner > .item > img, .carousel-inner > .item > a > img { display: block; width: 100%; height: auto; } /* ------------------- Carousel Styling ------------------- */ .carousel-inner { border-radius: 15px; } .carousel-caption { background-color: rgba(0,0,0,.5); position: absolute; left: 0; right: 0; bottom: 0; z-index: 10; padding: 0 0 10px 25px; color: #fff; text-align: left; } .carousel-indicators { position: absolute; bottom: 0; right: 0; left: 0; width: 100%; z-index: 15; margin: 0; padding: 0 25px 25px 0; text-align: right; } .carousel-control.left, .carousel-control.right { background-image: none; } /* ------------------- Section Styling - Not needed for carousel styling ------------------- */ .section-white { padding: 10px 0; } .section-white { } @media screen and (min-width: 768px) { .section-white { padding: 1.5em 0; } } @media screen and (min-width: 992px) { .container { max-width: 930px; } } /* Inspired by http://dribbble.com/shots/890759-Ui-Kit-Metro/attachments/97174 */ *, *:before, *:after { /* Chrome 9-, Safari 5-, iOS 4.2-, Android 3-, Blackberry 7- */ -webkit-box-sizing: border-box; /* Firefox (desktop or Android) 28- */ -moz-box-sizing: border-box; /* Firefox 29+, IE 8+, Chrome 10+, Safari 5.1+, Opera 9.5+, iOS 5+, Opera Mini Anything, Blackberry 10+, Android 4+ */ box-sizing: border-box; } body { margin: 0; background: url(http://eachdaypaid.com/wp-content/uploads/2014/01/minimal-gray-to-white-gradient-wallpapers_33797_1920x1200.jpg); background-repeat:repeat; display: compact; } .btn-nav { background-color: #fff; border: 1px solid #e0e1db; -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */ -moz-box-sizing: border-box; /* Firefox, other Gecko */ box-sizing: border-box; /* Opera/IE 8+ */ } .btn-nav:hover { color: #3498db; cursor: pointer; -webkit-transition: color 1s; /* For Safari 3.1 to 6.0 */ transition: color 1s; } .btn-nav.active { color: #3498db; padding: 2px; border-top: 6px solid #3498db; border-bottom: 6px solid #3498db; border-left: 0; border-right: 0; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; -webkit-transition: border 0.3s ease-out, color 0.3s ease 0.5s; -moz-transition: border 0.3s ease-out, color 0.3s ease 0.5s; -ms-transition: border 0.3s ease-out, color 0.3s ease 0.5s; /* IE10 is actually unprefixed */ -o-transition: border 0.3s ease-out, color 0.3s ease 0.5s; transition: border 0.3s ease-out, color 0.3s ease 0.5s; -webkit-animation: pulsate 1.2s linear infinite; animation: pulsate 1.2s linear infinite; } .btn-nav.active:before { content: ''; position: absolute; border-style: solid; border-width: 6px 6px 0; border-color: #3498db transparent; display: block; width: 0; z-index: 1; margin-left: -6px; top: 0; left: 50%; } .btn-nav .glyphicon { padding-top: 8px; font-size: 25px; } .btn-nav.active p { margin-bottom: 8px; } @-webkit-keyframes pulsate { 50% { color: #000; } } @keyframes pulsate { 50% { color: #000; } } @media (max-width: 480px) { .btn-group { display: block !important; float: none !important; width: 100% !important; max-width: 100% !important; } } @media (max-width: 600px) { .btn-nav .glyphicon { padding-top: 12px; font-size: 26px; } }
var activeEl = 0; $(function() { var items = $('.btn-nav'); $( items[activeEl] ).addClass('active'); $( ".btn-nav" ).click(function() { $( items[activeEl] ).removeClass('active'); $( this ).addClass('active'); activeEl = $( ".btn-nav" ).index( this ); }); });

Related: See More


Questions / Comments: