"Bootstrap Pagination"
Bootstrap 4.0.0 Snippet by CreativeTim

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <head> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons"> <link rel="stylesheet" href="https://unpkg.com/bootstrap-material-design@4.1.1/dist/css/bootstrap-material-design.min.css" integrity="sha384-wXznGJNEXNG1NFsbm0ugrLFMQPWswR3lds2VeinahP8N0zJw9VWSopbjv2x7WCvX" crossorigin="anonymous"> <link href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css" rel="stylesheet"> <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Roboto+Slab:400,700|Material+Icons"> </head> <body> <div class="container mt-5"> <div class="title"> <h3>Pagination</h3> </div> <ul class="pagination pagination-primary"> <li class="page-item"><a href="javascript:void(0);" class="page-link">1</a></li> <li class="page-item"><a href="javascript:void(0);" class="page-link">...</a></li> <li class="page-item"><a href="javascript:void(0);" class="page-link">5</a></li> <li class="page-item"><a href="javascript:void(0);" class="page-link">6</a></li> <li class="active page-item"><a href="javascript:void(0);" class="page-link">7</a></li> <li class="page-item"><a href="javascript:void(0);" class="page-link">8</a></li> <li class="page-item"><a href="javascript:void(0);" class="page-link">9</a></li> <li class="page-item"><a href="javascript:void(0);" class="page-link">...</a></li> <li class="page-item"><a href="javascript:void(0);" class="page-link">12</a></li> </ul> <ul class="pagination pagination-info"> <li class="page-item"><a href="javascript:void(0);" class="page-link">PREV</a></li> <li class="active page-item"><a href="javascript:void(0);" class="page-link">1</a></li> <li class="page-item"><a href="javascript:void(0);" class="page-link">2</a></li> <li class="page-item"><a href="javascript:void(0);" class="page-link">3</a></li> <li class="page-item"><a href="javascript:void(0);" class="page-link">NEXT</a></li> </ul> <ul class="pagination pagination-success"> <li class="page-item"><a href="javascript:void(0);" class="page-link">1</a></li> <li class="page-item"><a href="javascript:void(0);" class="page-link">...</a></li> <li class="page-item"><a href="javascript:void(0);" class="page-link">4</a></li> <li class="active page-item"><a href="javascript:void(0);" class="page-link">5</a></li> <li class="page-item"><a href="javascript:void(0);" class="page-link">6</a></li> <li class="page-item"><a href="javascript:void(0);" class="page-link">7</a></li> <li class="page-item"><a href="javascript:void(0);" class="page-link">8</a></li> <li class="page-item"><a href="javascript:void(0);" class="page-link">...</a></li> <li class="page-item"><a href="javascript:void(0);" class="page-link">11</a></li> </ul> <ul class="pagination pagination-warning"> <li class="page-item"><a href="javascript:void(0);" class="page-link">1</a></li> <li class="page-item"><a href="javascript:void(0);" class="page-link">2</a></li> <li class="active page-item"><a href="javascript:void(0);" class="page-link">3</a></li> <li class="page-item"><a href="javascript:void(0);" class="page-link">4</a></li> <li class="page-item"><a href="javascript:void(0);" class="page-link">5</a></li> <li class="page-item"><a href="javascript:void(0);" class="page-link">6</a></li> </ul> <ul class="pagination pagination-danger"> <li class="page-item"><a href="javascript:void(0);" class="page-link">1</a></li> <li class="page-item"><a href="javascript:void(0);" class="page-link">2</a></li> <li class="page-item"><a href="javascript:void(0);" class="page-link">3</a></li> <li class="page-item"><a href="javascript:void(0);" class="page-link">4</a></li> <li class="page-item"><a href="javascript:void(0);" class="page-link">5</a></li> <li class="active page-item"><a href="javascript:void(0);" class="page-link">6</a></li> <li class="page-item"><a href="javascript:void(0);" class="page-link">7</a></li> </ul> </div> <footer class="footer text-center "> <p>Made with <a href="https://demos.creative-tim.com/material-kit/index.html" target="_blank">Material Kit</a> by Creative Tim</p> </footer> <script src="https://unpkg.com/popper.js@1.12.6/dist/umd/popper.js" integrity="sha384-fA23ZRQ3G/J53mElWqVJEGJzU0sTs+SvzG8fXVWP+kJQ1lwFAOkcUOysnlKJC33U" crossorigin="anonymous"></script> <script src="https://unpkg.com/bootstrap-material-design@4.1.1/dist/js/bootstrap-material-design.js" integrity="sha384-CauSuKpEqAFajSpkdjv3z9t8E7RlpJ1UP0lKM/+NdtSarroVKu069AlsRPKkFBz9" crossorigin="anonymous"></script> </body>
html *{ -webkit-font-smoothing: antialiased; } .title h3{ font-size: 25px !important; margin-top: 20px; margin-bottom: 25px; line-height: 1.4em !important; font-weight: 300; } .pagination .page-link:focus{ box-shadow: none; } .pagination>.page-item>.page-link, .pagination>.page-item>span { border: 0; border-radius: 30px!important; transition: all .3s; padding: 0 11px !important; margin: 0 3px !important; min-width: 30px; height: 30px; line-height: 30px; color: #999; font-weight: 400; font-size: 12px; text-transform: uppercase; background: 0 0; text-align: center; } .pagination>.page-item.active>a, .pagination>.page-item.active>a:focus, .pagination>.page-item.active>a:hover, .pagination>.page-item.active>span, .pagination>.page-item.active>span:focus, .pagination>.page-item.active>span:hover { background-color: #9c27b0; border-color: #9c27b0; color: #fff; box-shadow: 0 4px 5px 0 rgba(156,39,176,.14), 0 1px 10px 0 rgba(156,39,176,.12), 0 2px 4px -1px rgba(156,39,176,.2); } .pagination.pagination-info>.page-item.active>a, .pagination.pagination-info>.page-item.active>a:focus, .pagination.pagination-info>.page-item.active>a:hover, .pagination.pagination-info>.page-item.active>span, .pagination.pagination-info>.page-item.active>span:focus, .pagination.pagination-info>.page-item.active>span:hover { background-color: #00bcd4; border-color: #00bcd4; box-shadow: 0 4px 5px 0 rgba(0,188,212,.14), 0 1px 10px 0 rgba(0,188,212,.12), 0 2px 4px -1px rgba(0,188,212,.2); } .pagination.pagination-success>.page-item.active>a, .pagination.pagination-success>.page-item.active>a:focus, .pagination.pagination-success>.page-item.active>a:hover, .pagination.pagination-success>.page-item.active>span, .pagination.pagination-success>.page-item.active>span:focus, .pagination.pagination-success>.page-item.active>span:hover { background-color: #4caf50; border-color: #4caf50; box-shadow: 0 4px 5px 0 rgba(76,175,80,.14), 0 1px 10px 0 rgba(76,175,80,.12), 0 2px 4px -1px rgba(76,175,80,.2); } .pagination.pagination-warning>.page-item.active>a, .pagination.pagination-warning>.page-item.active>a:focus, .pagination.pagination-warning>.page-item.active>a:hover, .pagination.pagination-warning>.page-item.active>span, .pagination.pagination-warning>.page-item.active>span:focus, .pagination.pagination-warning>.page-item.active>span:hover { background-color: #ff9800; border-color: #ff9800; box-shadow: 0 4px 5px 0 rgba(255,152,0,.14), 0 1px 10px 0 rgba(255,152,0,.12), 0 2px 4px -1px rgba(255,152,0,.2); } .pagination.pagination-danger>.page-item.active>a, .pagination.pagination-danger>.page-item.active>a:focus, .pagination.pagination-danger>.page-item.active>a:hover, .pagination.pagination-danger>.page-item.active>span, .pagination.pagination-danger>.page-item.active>span:focus, .pagination.pagination-danger>.page-item.active>span:hover { background-color: #f44336; border-color: #f44336; box-shadow: 0 4px 5px 0 rgba(244,67,54,.14), 0 1px 10px 0 rgba(244,67,54,.12), 0 2px 4px -1px rgba(244,67,54,.2); } /* footer */ footer{ margin-top: 20px; color: #555; background: #fff; padding: 25px; font-weight: 300; } .footer p{ margin-bottom: 0; font-size: 14px; font-weight: 300; } footer p a{ color: #555; font-weight: 400; } footer p a:hover { color: #9f26aa; text-decoration: none; }
$(document).ready(function() { $('body').bootstrapMaterialDesign(); });

Related: See More


Questions / Comments: