Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Bootstrap Breadcrumbs

Bootstrap Breadcrumbs

Breadcrumbs are a way of displaying information based on a website's hierarchy. Taking a blog as an example, breadcrumbs can show the publication date, category, or tags. They indicate the current page's position within the navigation hierarchy.

Breadcrumbs in Bootstrap are a simple unordered list with the .breadcrumb class. Separators are automatically added via the class shown below in the CSS (bootstrap.min.css):



.breadcrumb > li + li:before {

    color: #CCCCCC;

    content: "/ ";

    padding: 0 5px;

}

The following example demonstrates breadcrumbs:

Example

<ul class="breadcrumb">
<li>
<a href="" Home a li>
<li>
<a href="" 2013 a li>
<li class="active" November li ul>

Try it »

The result is as follows: