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
"Breadcrumbs"
Bootstrap 3.3.0 Snippet by
truonganhhoang
3.3.0
jQuery
Preview
HTML
CSS
JS
View Full Screen
Forked from
Fork
Fork this
Parent
1.1K
 
0 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 class="container"> <ol id="bc1" class="breadcrumb breadcrumb-arrow"> <li><a href="#">Home</a></li> <li><a href="#">Library Library Library Library Library LibraryLibrary LibraryLibraryLibrary Library</a></li> <li class="active"><span>Data</span></li> </ol> </div>
body{ padding-top: 50px; } .breadcrumb-arrow { height: 36px; padding: 0; line-height: 36px; list-style: none; background-color: #e6e9ed } .breadcrumb-arrow li:first-child a { border-radius: 4px 0 0 4px; -webkit-border-radius: 4px 0 0 4px; -moz-border-radius: 4px 0 0 4px } .breadcrumb-arrow li, .breadcrumb-arrow li a, .breadcrumb-arrow li span { display: inline-block; vertical-align: top } .breadcrumb-arrow li:not(:first-child) { margin-left: -5px } .breadcrumb-arrow li+li:before { padding: 0; content: "" } .breadcrumb-arrow li span { padding: 0 10px } .breadcrumb-arrow li a, .breadcrumb-arrow li:not(:first-child) span { height: 36px; padding: 0 10px 0 25px; line-height: 36px } .breadcrumb-arrow li:first-child a { padding: 0 10px } .breadcrumb-arrow li a { position: relative; color: #fff; text-decoration: none; background-color: #3bafda; border: 1px solid #3bafda } .breadcrumb-arrow li:first-child a { padding-left: 10px } .breadcrumb-arrow li a:after, .breadcrumb-arrow li a:before { position: absolute; top: -1px; width: 0; height: 0; content: ''; border-top: 18px solid transparent; border-bottom: 18px solid transparent } .breadcrumb-arrow li a:before { right: -10px; z-index: 3; border-left-color: #3bafda; border-left-style: solid; border-left-width: 11px } .breadcrumb-arrow li a:after { right: -11px; z-index: 2; border-left: 11px solid #2494be } .breadcrumb-arrow li a:focus, .breadcrumb-arrow li a:hover { background-color: #4fc1e9; border: 1px solid #4fc1e9 } .breadcrumb-arrow li a:focus:before, .breadcrumb-arrow li a:hover:before { border-left-color: #4fc1e9 } .breadcrumb-arrow li a:active { background-color: #2494be; border: 1px solid #2494be } .breadcrumb-arrow li a:active:after, .breadcrumb-arrow li a:active:before { border-left-color: #2494be } .breadcrumb-arrow li span { color: #434a54 } /* The responsive part */ .breadcrumb-arrow li a > * > div { /* With less: .text-overflow(); */ white-space: nowrap; overflow: hidden; text-overflow: ellipxsis; } .breadcrumb-arrow li a > *:nth-child(n+2) { display:none; } /* === For phones =================================== */ @media (max-width: 767px) { .breadcrumb-arrow li a > *:nth-last-child(-n+2) { display:block; } .breadcrumb-arrow li a > * div { max-width: 60px; } } /* === For tablets ================================== */ @media (min-width: 768px) and (max-width:991px) { .breadcrumb-arrow li a > *:nth-last-child(-n+4) { display:block; } .breadcrumb-arrow li a > * div { max-width: 100px; } } /* === For desktops ================================== */ @media (min-width: 992px) { .breadcrumb-arrow li a > *:nth-last-child(-n+6) { display:block; } .breadcrumb-arrow li a > * div { max-width: 170px; } }
$(document).ready(function(){ $(window).resize(function() { ellipses1 = $("#bc1 :nth-child(2)") if ($("#bc1 li a:hidden").length >0) {ellipses1.show()} else {ellipses1.hide()} }) });
Related:
See More
Template
Material Dashboard Pro React
211.9K
318
Triangle Breadcrumbs Arrows
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76