Bootstrap pagination-sm class


Set small size item for pagination with the pagination-lg Bootstrap class. You can try to run the following code to implement the pagination-sm class in Bootstrap:

Example

Live Demo

<!DOCTYPE html>
<html>
   <head>
      <title>Bootstrap Example</title>
      <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
      <script src = "/scripts/jquery.min.js"></script>
      <script src = "/bootstrap/js/bootstrap.min.js"></script>
   </head>
   <body>
      <h2>Coding Examples</h2>
      The following are the examples:
      <ul class = "pagination pagination-sm">
         <li><a href = "#">&amp;laquo;</a></li>
         <li><a href = "#">Code1</a></li>
         <li><a href = "#">Code2</a></li>
         <li><a href = "#">Code3</a></li>
         <li><a href = "#">Code4</a></li>
         <li><a href = "#">Code5</a></li>
         <li><a href = "#">&amp;raquo;</a></li>
      </ul>
   </body>
</html>

Updated on: 12-Jun-2020

158 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements