Get a muted look with .disabled in Bootstrap Pager

BootstrapWeb DevelopmentCSS Framework

To get a muted look with disabled class, you can try to run the following code −

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>
      <h3>Answers</h3>
      <br>
      <ul class = "pagination pagination-lg">
         <li><a href = "#">Q1</a></li>
         <li><a href = "#">Q2</a></li>
         <li><a href = "#">Q3</a></li>
         <li><a href = "#">Q4</a></li>
         <li><a href = "#">Q5</a></li>
         <li><a href = "#">Q6</a></li>
      </ul>
      <ul class = "pager">
         <li class = "previous disabled"><a href = "#">← Older</a></li>
         <li class = "next"><a href = "#">Newer →</a></li>
      </ul>
   </body>
</html>
raja
Published on 20-Jun-2018 11:53:39
Advertisements