pagination style : demo 36

HTML

(CSS Framwork: Bootstrap)

CSS

(Fonts required: Roboto.)
                        .pagination-outer{ text-align: center; }
                        .pagination{
                            font-family: 'Roboto', sans-serif;
                            display: inline-flex;
                            position: relative;
                        }
                        .pagination li a.page-link{
                            color: #2C3A47;
                            background-color: transparent;
                            font-size: 22px;
                            font-weight: 600;
                            line-height: 35px;
                            height: 50px;
                            width: 45px;
                            margin: 0 10px 0 0;
                            border: none;
                            border-radius: 0;
                            overflow: hidden;
                            position: relative;
                            z-index: 1;
                            transition: all 0.4s ease 0s;
                        }
                        .pagination li.active a.page-link,
                        .pagination li a.page-link:hover,
                        .pagination li.active a.page-link:hover{
                            color: #3867d6;
                            background-color: transparent;
                        }
                        .pagination li a.page-link:before,
                        .pagination li a.page-link:after{
                            content: "";
                            background-color: #3867d6;
                            width: 100%;
                            height: 2px;
                            transform: scale(0);
                            position: absolute;
                            bottom: 3px;
                            left: 0;
                            transition: all 0.2s ease 0s;
                        }
                        .pagination li a.page-link:after{
                            background-color: #2C3A47;
                            height: 13px;
                            width: 13px;
                            transform: rotateX(0) scale(1) translateX(-50%);
                            bottom: -12px;
                            left: 50%;
                            -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
                            clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
                            transition-delay: 0.1s;
                        }
                        .pagination li a.page-link:hover:before,
                        .pagination li.active a.page-link:before{
                            transform: scale(1);
                        }
                        .pagination li a.page-link:hover:after,
                        .pagination li.active a.page-link:after{
                            transform: rotateX(720deg) scale(1) translateX(-50%);
                            bottom: 0;
                        }
                        .pagination li:first-child a.page-link,
                        .pagination li:last-child a.page-link{
                            color: #fff;
                            background: #2C3A47;
                            font-size: 30px;
                            line-height: 33px;
                            border-radius: 50%;
                        }
                        .pagination li:first-child a.page-link:hover,
                        .pagination li:last-child a.page-link:hover{
                            color: #fff;
                            background:#3867d6 ;
                        }
                        .pagination li:last-child a.page-link:hover:before,
                        .pagination li:first-child a.page-link:hover:before,
                        .pagination li:last-child a.page-link:hover:after,
                        .pagination li:first-child a.page-link:hover:after{
                            display: none;
                        }
                        @media only screen and (max-width: 480px){
                            .pagination{ display: block; }
                            .pagination li{
                                margin-bottom: 10px;
                                display: inline-block;
                            }
                        }
                    
License Terms