pagination style : demo 47

HTML

(CSS Framwork: Bootstrap)

CSS

(Fonts required: Gugi.)
                        .pagination-outer{ text-align: center; }
                        .pagination{
                            font-family: 'Gugi', cursive;
                            padding: 7px 15px;
                            border-radius: 0;
                            border-bottom: 2px solid #909090;
                            box-shadow: 0 5px 5px -7px #000;
                            display: inline-flex;
                            position: relative;
                        }
                        .pagination li a.page-link{
                            color: #444;
                            background-color: transparent;
                            font-size: 25px;
                            font-weight: 700;
                            line-height: 35px;
                            border:none;
                            height: 40px;
                            width: 65px;
                            overflow: hidden;
                            position: relative;
                            z-index: 1;
                            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;
                            background-color: transparent;
                        }
                        .pagination li a.page-link:before{
                            content: '';
                            background-color: #3eed23;
                            height: 63px;
                            width: 63px;
                            border-radius: 50%;
                            opacity: 0;
                            transform: translateX(-50%) translateY(50%);
                            position: absolute;
                            left: 49%;
                            top: 50%;
                            z-index: -2;
                            transition: all 0.3s ease 0s;
                        }
                        .pagination li.active a.page-link:before,
                        .pagination li a.page-link:hover:before{
                            opacity: 1;
                            transform: translateX(-50%) translateY(-30%);
                        }
                        .pagination li:first-child a.page-link:before,
                        .pagination li:last-child a.page-link:before{ display: none; }
                        .pagination li:first-child a.page-link,
                        .pagination li:last-child a.page-link{
                            color: #3eed23;
                            font-size: 40px;
                            line-height: 20px;
                            height: auto;
                            width: auto;
                            padding: 0;
                            position: absolute;
                            left: -13px;
                            bottom: -9px;
                        }
                        .pagination li:last-child a.page-link{
                            left: auto;
                            right: -13px;
                        }
                        .pagination li:first-child a.page-link:hover,
                        .pagination li:last-child a.page-link:hover{ color: #000; }
                        @media only screen and (max-width: 480px){
                            .pagination{
                                display: block;
                                margin: 0;
                            }
                            .pagination li{
                                margin: 10px 2px;
                                display: inline-block;
                            }
                        }
                    
License Terms