O'Reilly logo

Mastering Bootstrap 4 - Second Edition by Jason Marah, Benjamin Jakobus

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Enhanced pagination using bootpag

In this section, we will learn both how to use Bootstrap's default pagination and how to overcome its limitations quickly and with minimal effort. We will first populate the section with a set of sample events, and then we will group these events into pages in an effort to reduce the overall length of the section. To add a set of events to the Events section, replace the <p>Lorem Ipsum</p> markup in the services-events div with the following event placeholder text:

    <h3>My Sample Event #1</h3> 
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    Curabitur leo dolor,
    fringilla vel lacus at, auctor finibus ipsum. Lorem ipsum dolor sit
    amet,
 consectetur adipiscing elit. Morbi quis arcu lorem. Vivamus ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required