pagination style : demo 38

HTML

(CSS Framwork: Bootstrap)

CSS

(Fonts required: Cabin.)
                        .pagination-outer{ text-align: center; }
                        .pagination{
                            font-family: 'Cabin', sans-serif;
                            display: inline-flex;
                            position: relative;
                        }
                        .pagination li a.page-link{
                            color: #fff;
                            background-color: transparent;
                            font-size: 20px;
                            font-weight: 700;
                            padding: 6px 15px;
                            margin: 0 3px;
                            border: none;
                            border-radius: 10px;
                            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: transparent;
                            text-shadow: 0 0 2px #000;
                            border: none;
                        }
                        .pagination li a.page-link:before{
                            content: '';
                            background: linear-gradient(to bottom, #f53b57,#f53b57,#f53b57,transparent);
                            width: 100%;
                            height: 100%;
                            border-radius: 10px;
                            position: absolute;
                            left: 0;
                            bottom: 0;
                            z-index: -1;
                            transition: all 0.3s;
                        }
                        .pagination li a.page-link:hover:before,
                        .pagination li.active a.page-link:before{
                            background: linear-gradient(to bottom,transparent,#f53b57,#f53b57,#f53b57);
                            transform-origin: bottom;
                            transform: scaleY(1.3);
                        }
                        @media only screen and (max-width: 480px){
                            .pagination{ display: block; }
                            .pagination li{
                                margin: 10px 0;
                                display: inline-block;
                            }
                        }
                    
License Terms