- Bootstrap 4:Responsive Web Design
- Silvio Moreto Matt Lambert Benjamin Jakobus Jason Marah
- 120字
- 2021-07-09 18:54:48
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:

推薦閱讀
- 演進式架構(原書第2版)
- 數字媒體應用教程
- C程序設計案例教程
- Arduino家居安全系統構建實戰
- 微服務從小白到專家:Spring Cloud和Kubernetes實戰
- PHP 8從入門到精通(視頻教學版)
- 軟件測試(慕課版)
- Spring Boot從入門到實戰
- Mastering Responsive Web Design
- Java語言程序設計與實現(微課版)
- Mastering Python Scientific Computing
- Learning OpenCV 4 Computer Vision with Python 3
- Web前端開發技術:HTML、CSS、JavaScript(第2版)
- Spring MVC:Beginner's Guide(Second Edition)
- 計算機應用基礎實驗指導(第二版)