- 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:

推薦閱讀
- Mastering AWS Lambda
- 騰訊iOS測試實踐
- 碼上行動:零基礎學會Python編程(ChatGPT版)
- RTC程序設計:實時音視頻權威指南
- 數據結構習題精解(C語言實現+微課視頻)
- Spring Cloud、Nginx高并發核心編程
- UI智能化與前端智能化:工程技術、實現方法與編程思想
- Learning Apache Mahout Classification
- INSTANT Passbook App Development for iOS How-to
- Visual FoxPro程序設計習題集及實驗指導(第四版)
- Visual Basic程序設計習題與上機實踐
- Domain-Driven Design in PHP
- 超好玩的Scratch 3.5少兒編程
- Python 3快速入門與實戰
- Access數據庫應用教程(2010版)