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

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
主站蜘蛛池模板: 高州市| 道孚县| 砀山县| 思茅市| 太仓市| 洪洞县| 剑河县| 苏州市| 图片| 保靖县| 济阳县| 东源县| 东辽县| 瓮安县| 武川县| 常德市| 乌拉特后旗| 饶阳县| 新安县| 治多县| 高阳县| 杨浦区| 翁源县| 登封市| 诏安县| 大关县| 崇信县| 彭水| 正蓝旗| 通许县| 许昌市| 平舆县| 宜兰县| 通化市| 伽师县| 新营市| 晋城| 搜索| 阿克| 灌南县| 富锦市|