YouTip LogoYouTip

Bootstrap4 Pagination

During web development, if you encounter too much content, you will generally handle it with pagination. Bootstrap 4 can implement pagination effects very simply. To create a basic pagination, you can add the `.pagination` class to a `
    ` element. Then add the `.page-item` class to the `
  • ` elements, and the `.page-link` class to the `` tags within the `
  • ` elements: ## Example [Try it Β»](#) * * * ## Active Page State The current page can be highlighted using the `.active` class: ## Example [Try it Β»](#) * * * ## Disabled Pagination Links The `.disabled` class can make pagination links unclickable: ## Example [Try it Β»](#) * * * ## Pagination Sizing You can set pagination items to different sizes. The `.pagination-lg` class sets large font pagination items, and the `.pagination-sm` class sets small font pagination items: ## Example [Try it Β»](#) * * * ## Breadcrumbs The `.breadcrumb` and `.breadcrumb-item` classes are used to set up breadcrumb navigation: ## Example [Try it Β»](#) * * * ## Pagination Alignment You can use utility classes to set the alignment of pagination: ## Example
    • ...
    • ...
    • ...
    [Try it Β»](#)
← Bootstrap4 CardsBootstrap4 Badges β†’