官术网_书友最值得收藏!

Creating breadcrumbs

To make use of Bootstrap breadcrumbs, we will add it to our web app. Note that we will do this step for learning purposes so that you will be able to create it when you need it.

Like pagination, Bootstrap offers a component for breadcrumbs as well. For that, create an ordered list just after the open tag div#main:

<div id="main" class="col-sm-12 col-md-6">

  <ol class="breadcrumb card">
    <li><a href="#">Home</a></li>
    <li><a href="#">Profile</a></li>
    <li class="active">Feed</li>
  </ol>
  …
</div>

The cool thing about Bootstrap breadcrumbs is that the separator bars are automatically added through :before and the content CSS option, so you do not need to worry about them.

Note that the .card class was added to the breadcrumbs component to keep the web app style. The following screenshot presents the result of breadcrumbs:

Creating breadcrumbs
主站蜘蛛池模板: 建阳市| 台江县| 威信县| 偃师市| 越西县| 筠连县| 彝良县| 西峡县| 永德县| 饶平县| 南充市| 巴塘县| 隆回县| 德兴市| 寻甸| 舟曲县| 太康县| 共和县| 塔河县| 环江| 离岛区| 昭苏县| 陇南市| 平和县| 卫辉市| 堆龙德庆县| 嘉祥县| 苏尼特左旗| 荆门市| 沾化县| 益阳市| 泰宁县| 顺义区| 贡嘎县| 陇西县| 伊宁市| 梅州市| 内黄县| 乌什县| 马山县| 昌黎县|