<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 ---------->
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<div class="container">
<div class="row">
<h2>Breadcrumbs 1 (6 elements)</h2>
<div id="bc1" class="btn-group btn-breadcrumb">
<a href="#" class="btn btn-default"><i class="fa fa-home"></i></a>
<div class="btn btn-default">...</div>
<a href="#" class="btn btn-default"><div>label 1</div></a>
<a href="#" class="btn btn-default"><div>label 2. A very very long one to truncate</div></a>
<a href="#" class="btn btn-default"><div>label 3</div></a>
<a href="#" class="btn btn-default"><div>label 4</div></a>
<a href="#" class="btn btn-default"><div>label 5</div></a>
<a href="#" class="btn btn-default"><div>label 6. A very very long one to truncate</div></a>
</div>
</div>
<div class="row">
<h2>Breadcrumbs 2 (8 elements)</h2>
<div id="bc2" class="btn-group btn-breadcrumb">
<a href="#" class="btn btn-default"><i class="fa fa-home"></i></a>
<div class="btn btn-default">...</div>
<a href="#" class="btn btn-default"><div>label 1. A very very long one to truncate</div></a>
<a href="#" class="btn btn-default"><div>label 2</div></a>
<a href="#" class="btn btn-default"><div>label 3</div></a>
<a href="#" class="btn btn-default"><div>label 4</div></a>
<a href="#" class="btn btn-default"><div>label 5. A very very long one to truncate</div></a>
<a href="#" class="btn btn-default"><div>label 6</div></a>
<a href="#" class="btn btn-default"><div>label 7</div></a>
<a href="#" class="btn btn-default"><div>label 8</div></a>
</div>
</div>
<div class="row" style="margin-top:30px; color:green; font-weight:bold">
<div class="visible-xs">Phone (2 elements, max-size:60px)</div>
<div class="visible-sm">Tablet (4 elements, max-size:100px)</div>
<div class="hidden-xs hidden-sm">Desktop (6 elements, max-size:160px)</div>
</div>
<div class="row" style="margin-top:30px">
Responsive breadcrumbs that:
<ul>
<li>display only the last n elements. Ellipses are added at the beginning of the list if elements are hidden.</li>
<li>set a maximum size for each elements. Ellipses are added after the label if it's too long.</li>
</ul>
<p>By setting breakpoints you can set the number of elements to display and their maximum size for different screen sizes.</p>
<p>Adapted from <a href="http://bootsnipp.com/snippets/featured/triangle-breadcrumbs-arrows">Triangle Breadcrumbs Arrows</a></p>
</div>
</div>