pagination style : demo 12

HTML

CSS

                        .pagination-outer{ text-align: center; }
                        .pagination{
                            display: inline-flex;
                            padding: 0 30px;
                            z-index: 1;
                            position: relative;
                        }
                        .pagination:after{
                            content: "";
                            width: 100%;
                            height: 100%;
                            background: linear-gradient(to bottom,rgba(0,0,0,0.1),#fff,#fff);
                            position: absolute;
                            top: 0;
                            left: 0;
                            z-index: -1;
                        }
                        .pagination li a.page-link{
                            width: 45px;
                            height: 45px;
                            background-color: transparent;
                            padding: 0;
                            margin: 0 10px 0 0;
                            font-size: 22px;
                            font-weight: 600;
                            color: #3d5a80;
                            line-height: 45px;
                            border: 0 solid #cfd0d2;
                            border-radius: 0;
                            position: relative;
                            transition: all 0.3s ease 0s;
                        }
                        .pagination li:last-child a.page-link{ margin-right: 0; }
                        .pagination li a.page-link:before{
                            content: "";
                            width: 15px;
                            height: 15px;
                            background: #fe5d26;
                            border-radius: 50%;
                            margin: 0 auto;
                            position: absolute;
                            bottom: 100px;
                            left: 0;
                            right: 0;
                            opacity: 0;
                            transition: all 0.3s ease 0s;
                        }
                        .pagination li.active a.page-link,
                        .pagination li a.page-link:hover,
                        .pagination li.active a.page-link:hover{
                            color: #fff;
                            border-color: #3d5a80;
                            background: #3d5a80;
                        }
                        .pagination li.active a.page-link:before,
                        .pagination li a.page-link:hover:before{
                            opacity: 1;
                            bottom: -20px;
                        }
                        @media only screen and (max-width: 480px){
                            .pagination{ display: block; }
                            .pagination li{
                                display: inline-block;
                                margin-bottom: 20px;
                            }
                        }
                    
License Terms