Use previous and next class for alignment of links

BootstrapWeb DevelopmentCSS Framework

You can try to run the following code to use the previous and next class for alignment of links:

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 = "pager">
         <li class = "previous"><a href = "#">← Older</a></li>
         <li class = "next"><a href = "#">Newer →</a></li>
      </ul>
   </body>
</html>
raja
Published on 20-Jun-2018 11:54:12
Advertisements