Bootstrap 4 Tutorial
You might want to add pagination to each page if your website has a lot of pages.
You may add the .pagination class to a <ul> element to create a simple pagination. Next, give each <li> element a .page-item class and each link inside a <li> a .page-link class:
To modify the pagination’s alignment, use utility classes:
- ...
- ...
- ...
Tip: See our BS4 Utilities Chapter for additional information on Bootstrap 4 Utility/Helper classes.
Breadcrumbs are another type of pagination:
The current page’s position within a navigational hierarchy is indicated by the .breadcrumb and .breadcrumb-item classes:
- Photos
- Summer 2017
- Italy
- Rome
CodingAsk.com is designed for learning and practice. Examples may be made simpler to aid understanding. Tutorials, references, and examples are regularly checked for mistakes, but we cannot guarantee complete accuracy. By using CodingAsk.com, you agree to our terms of use, cookie, and privacy policy.
Copyright 2010-2024 by Refsnes Data. All Rights Reserved.