Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"Left Right Labled Tabs Pointing to Boxes"
Bootstrap 3.3.0 Snippet by
tradesouthwest
3.3.0
tabs
Preview
HTML
CSS
View Full Screen
Fork
Fork this
8.2K
 
2 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.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 id="flex" class="container-fluid"> <div class="row"> <ul class="flex-container"> <li class="flex-item col-xs-12 col-sm-3 col-lg-2"> <img src="https://dl.dropboxusercontent.com/s/he3shuyj7jiuh0i/images%20%281%29.jpg" alt="vinyl fence"> </li> <li class="flex-item col-xs-12 col-sm-3 col-lg-2"> <p>Classic Privacy w/ Straight Picket<br><a href="#semiPrivacy" title="pool vinyl fence" class="btn btn-labeled-left btn-gradient"> <span class="btn-label"><i class="glyphicon glyphicon-arrow-left"></i></span>VIEW MORE</a></p> </li> <li class="flex-item col-xs-12 col-sm-3 col-lg-2"> <img src="https://dl.dropboxusercontent.com/s/uiotb9uyudv5ml4/6FT%20FULL%20PRIVACY.jpg" alt="vinyl fence"> </li> <li class="flex-item col-xs-12 col-sm-3 col-lg-2"> <p>Classic Privacy w/ Closed Pickets.<br><a href="#privacy" title="pool vinyl fence" class="btn btn-labeled-left btn-gradient"> <span class="btn-label"><i class="glyphicon glyphicon-arrow-left"></i></span>VIEW MORE</a></p> </li> <li class="flex-item col-xs-12 col-sm-3 col-lg-2"> <img src="https://dl.dropboxusercontent.com/s/7rxp6k450zlslsi/1282859142_pool-fence-4-5-foot.jpg" alt="vinyl fence"> </li> <li class="flex-item col-xs-12 col-sm-3 col-lg-2"> <p>Classic Privacy w/ Lattice.<br><a href="#lattice" title="pool vinyl fence" class="btn btn-labeled-left btn-gradient"> <span class="btn-label"><i class="glyphicon glyphicon-arrow-left"></i></span>VIEW MORE</a></p> </li> <li class="flex-item col-xs-12 col-sm-3 col-lg-2"> <p>Classic Privacy w/ Scalloped Panels<br><a href="#scalloped" title="pool vinyl fence" class="btn btn-labeled-right btn-gradient">VIEW MORE <span class="btn-label"><i class="glyphicon glyphicon-arrow-right"></i></span></a></p> </li> <li class="flex-item col-xs-12 col-sm-3 col-lg-2"> <img src="https://dl.dropboxusercontent.com/s/gkn5wrbxs94vmh2/images.jpg" alt="vinyl fence"> </li> <li class="flex-item col-xs-12 col-sm-3 col-lg-2"> <p>Ranch Style Horse Fence<br><a href="#ranch" title="pool vinyl fence" class="btn btn-labeled-right btn-gradient">VIEW MORE <span class="btn-label"><i class="glyphicon glyphicon-arrow-right"></i></span></a></p> </li> <li class="flex-item col-xs-12 col-sm-3 col-lg-2"> <img src="https://dl.dropboxusercontent.com/s/m31vludcruios0c/2_rail_ranch.jpg" alt="vinyl fence"> </li> <li class="flex-item col-xs-12 col-sm-3 col-lg-2"> <p>Pool Fences can be open or closed.<br><a href="#pool" title="pool vinyl fence" class="btn btn-labeled-right btn-gradient">VIEW MORE <span class="btn-label"><i class="glyphicon glyphicon-arrow-right"></i></span></a></p> </li> <li class="flex-item col-xs-12 col-sm-3 col-lg-2"> <img src="https://dl.dropboxusercontent.com/s/d46jqt5al0xd5dm/images.jpg" alt="vinyl fence"> </li> </ul> </div> </div>
/* col-xs-6 can become col-xs-4 for wider media * used flex as selector after trying flex boxes so I left the * name - just in case you were wondering */ #flex { padding-left:35px; background: #fefefe; } .flex-container { box-sizing: border-box; padding: 0px; width: 100%; margin: 0 auto; list-style: none; } .flex-item { background: #fafafa; padding: 5px; width: 200px; max-height: 150px; margin-top: 10px; line-height: 1.45; color: inherit; font-size: inherit; text-align: center; margin-right: 2px; overflow: hidden; } .flex-item img { max-height: 150px; padding: 0; } .flex-item:last-child{margin-right: 0;} #flex li p { background: #f6f6f6; border: 1px solid #ccc; border-radius: 4px; height: 144px; padding: 15px; font-weight: lighter; text-align: left; font-size: 1em; box-shadow: 0 .5px .5px #eee; text-transform: uppercase; } #flex p a { } .btn-labeled-left .btn-label { position: relative; left: -12px; padding: 6px 12px 6px 0; border-right: 1px solid #fff; } .btn-labeled-right .btn-label { position: relative; right: -12px; padding: 6px 0 6px 12px; border-left: 1px solid #fff; } .btn-labeled-left { min-width: 160px; min-height: 24px; line-height: 30px; margin: 0 auto -80px auto;padding-left: 0; padding-top:0;padding-bottom:0;} .btn-labeled-right { min-width: 160px; min-height: 24px; line-height: 30px; margin: 0 auto -80px auto;padding-left: 0; padding-top:0;padding-bottom:0;} .btn-label i {} .btn-labeled-left.btn-gradient, .btn-labeled-right.btn-gradient, .btn-gradient { border: 1px solid #ddd; background-image: linear-gradient(#eaeaea, #fafafa, #e3e3e3) !important; }
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76