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

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
主站蜘蛛池模板: 潞城市| 株洲市| 阳信县| 荔波县| 双峰县| 南岸区| 远安县| 海城市| 天峻县| 桃江县| 张家港市| 阿尔山市| 石泉县| 安图县| 荃湾区| 盘锦市| 府谷县| 石台县| 独山县| 精河县| 吉林省| 乐安县| 策勒县| 上饶市| 淮滨县| 兴海县| 观塘区| 韩城市| 财经| 兰州市| 仁寿县| 吴堡县| 太康县| 江源县| 普安县| 平塘县| 竹溪县| 商都县| 孝昌县| 南投县| 简阳市|