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
"Triangle Breadcrumbs Arrows"
Bootstrap 3.1.0 Snippet by
jakehaynes
3.1.0
Preview
HTML
CSS
View Full Screen
Forked from
Fork
Fork this
Parent
928
 
2 Fav
Post to Facebook
Tweet this
<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="well"> <div class="container"> <div class="row"> <h4>Blue = Current Step, Green = Complete</h4> <div class="btn-group btn-breadcrumb"> <a href="#" class="btn btn-success"><span class="badge">1</span> Your</br> Information </a> <a href="#" class="btn btn-primary"><span class="badge">2</span> Employment</br> Information </a> <a href="#" class="btn btn-default"><span class="badge">3</span> Attorney</br> Information </a> <a href="#" class="btn btn-default"><span class="badge">4</span> Domestic</br> Violence </a> <a href="#" class="btn btn-default"><span class="badge">5</span> Children in</br> this matters </a> <a href="#" class="btn btn-default"><span class="badge">6</span> Marital</br> History </a> <a href="#" class="btn btn-default"><span class="badge">7</span> Case</br> Information </a> <a href="#" class="btn btn-default"><span class="badge">8</span> Additional</br> Case Information </a> <a href="#" class="btn btn-default"><span class="badge">9</span> Final</br>  </a> </div> </div> </div> </div>
/** The Magic **/ .btn-breadcrumb .btn:not(:last-child):after { content: " "; display: block; width: 0; height: 0; border-top: 17px solid transparent; border-bottom: 17px solid transparent; border-left: 10px solid white; position: absolute; top: 50%; margin-top: -17px; left: 100%; z-index: 3; } .btn-breadcrumb .btn:not(:last-child):before { content: " "; display: block; width: 0; height: 0; border-top: 17px solid transparent; border-bottom: 17px solid transparent; border-left: 10px solid rgb(173, 173, 173); position: absolute; top: 50%; margin-top: -17px; margin-left: 1px; left: 100%; z-index: 3; } /** The Spacing **/ .btn-breadcrumb .btn { padding:6px 12px 6px 24px; width:150px } .btn-breadcrumb .btn:first-child { padding:6px 6px 6px 10px; } .btn-breadcrumb .btn:last-child { padding:6px 18px 6px 24px; } /** Default button **/ .btn-breadcrumb .btn.btn-default:not(:last-child):after { border-left: 10px solid #fff; } .btn-breadcrumb .btn.btn-default:not(:last-child):before { border-left: 10px solid #ccc; } .btn-breadcrumb .btn.btn-default:hover:not(:last-child):after { border-left: 10px solid #ebebeb; } .btn-breadcrumb .btn.btn-default:hover:not(:last-child):before { border-left: 10px solid #adadad; } /** Primary button **/ .btn-breadcrumb .btn.btn-primary:not(:last-child):after { border-left: 10px solid #428bca; } .btn-breadcrumb .btn.btn-primary:not(:last-child):before { border-left: 10px solid #357ebd; } .btn-breadcrumb .btn.btn-primary:hover:not(:last-child):after { border-left: 10px solid #3276b1; } .btn-breadcrumb .btn.btn-primary:hover:not(:last-child):before { border-left: 10px solid #285e8e; } /** Success button **/ .btn-breadcrumb .btn.btn-success:not(:last-child):after { border-left: 10px solid #5cb85c; } .btn-breadcrumb .btn.btn-success:not(:last-child):before { border-left: 10px solid #4cae4c; } .btn-breadcrumb .btn.btn-success:hover:not(:last-child):after { border-left: 10px solid #47a447; } .btn-breadcrumb .btn.btn-success:hover:not(:last-child):before { border-left: 10px solid #398439; } /** Danger button **/ .btn-breadcrumb .btn.btn-danger:not(:last-child):after { border-left: 10px solid #d9534f; } .btn-breadcrumb .btn.btn-danger:not(:last-child):before { border-left: 10px solid #d43f3a; } .btn-breadcrumb .btn.btn-danger:hover:not(:last-child):after { border-left: 10px solid #d2322d; } .btn-breadcrumb .btn.btn-danger:hover:not(:last-child):before { border-left: 10px solid #ac2925; } /** Warning button **/ .btn-breadcrumb .btn.btn-warning:not(:last-child):after { border-left: 10px solid #f0ad4e; } .btn-breadcrumb .btn.btn-warning:not(:last-child):before { border-left: 10px solid #eea236; } .btn-breadcrumb .btn.btn-warning:hover:not(:last-child):after { border-left: 10px solid #ed9c28; } .btn-breadcrumb .btn.btn-warning:hover:not(:last-child):before { border-left: 10px solid #d58512; } /** Info button **/ .btn-breadcrumb .btn.btn-info:not(:last-child):after { border-left: 10px solid #5bc0de; } .btn-breadcrumb .btn.btn-info:not(:last-child):before { border-left: 10px solid #46b8da; } .btn-breadcrumb .btn.btn-info:hover:not(:last-child):after { border-left: 10px solid #39b3d7; } .btn-breadcrumb .btn.btn-info:hover:not(:last-child):before { border-left: 10px solid #269abc; }
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76