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

推薦閱讀
- INSTANT Mock Testing with PowerMock
- Java高手真經(jīng)(高級編程卷):Java Web高級開發(fā)技術(shù)
- 軟件測試項(xiàng)目實(shí)戰(zhàn)之性能測試篇
- Java加密與解密的藝術(shù)(第2版)
- Python機(jī)器學(xué)習(xí)實(shí)戰(zhàn)
- Nexus規(guī)模化Scrum框架
- JavaScript入門經(jīng)典
- Kotlin從基礎(chǔ)到實(shí)戰(zhàn)
- Unity 3D腳本編程:使用C#語言開發(fā)跨平臺游戲
- UX Design for Mobile
- Learning Image Processing with OpenCV
- 深入理解Java虛擬機(jī):JVM高級特性與最佳實(shí)踐
- LabVIEW入門與實(shí)戰(zhàn)開發(fā)100例(第4版)
- C++面向?qū)ο蟪绦蛟O(shè)計(jì)
- 詩意的邊緣