pagination style : demo 25

HTML

(CSS Framwork: Bootstrap)

CSS

                        .pagination-outer{ text-align: center; }
                        .pagination{
                            display: inline-flex;
                            position: relative;
                        }
                        .pagination li a.page-link{
                            color: #fff;
                            background-color:#006266;
                            font-size: 25px;
                            font-weight: 700;
                            line-height: 35px;
                            height: 50px;
                            width: 50px;
                            margin: 0 10px 10px 0;
                            border: 2px solid #006266;
                            border-radius:50%;
                            overflow: hidden;
                            position: relative;
                            z-index: 1;
                            transition: all 0.4s ease 0s;
                        }
                        .pagination li:last-child a.page-link{ margin-right: 0; }
                        .pagination li.active a.page-link,
                        .pagination li a.page-link:hover,
                        .pagination li.active a.page-link:hover{
                            color: #006266;
                            background-color: #006266;
                            border: 2px solid #006266;
                        }
                        .pagination li a.page-link:before,
                        .pagination li a.page-link:after{
                            content: '';
                            background-color: rgba(255,255,255,0.8);
                            height:50px;
                            width: 50px;
                            border-radius:50%;
                            transform:translateX(-50%);
                            position: absolute;
                            left: 50%;
                            top:70px;
                            z-index: -1;
                            transition: all 0.5s;
                        }
                        .pagination li a.page-link:after {
                            top: 50px;
                            transition-delay: 0.2s;
                        }
                        .pagination li a.page-link:hover:before,
                        .pagination li.active a.page-link:before,
                        .pagination li a.page-link:hover:after,
                        .pagination li.active a.page-link:after{
                            top: 8px;
                        }
                        @media only screen and (max-width: 480px){
                            .pagination{ display: block; }
                            .pagination li{
                                margin-bottom: 10px;
                                display: inline-block;
                            }
                        }
                    
License Terms