pagination style : demo 35

HTML

(CSS Framwork: Bootstrap)

CSS

(Fonts required: Roboto.)
                        .demo{ background: linear-gradient(to right,#85271b,#a73737,#85271b); }
                        .pagination-outer{ text-align: center; }
                        .pagination{
                            font-family: 'Roboto', sans-serif;
                            display: inline-flex;
                            position: relative;
                        }
                        .pagination li a.page-link{
                            color: #85271b;
                            background-color: #fff;
                            font-size: 22px;
                            font-weight: 500;
                            line-height: 30px;
                            height: 40px;
                            width: 40px;
                            margin: 0 10px 0 0;
                            border: none;
                            border-radius: 40% 20%;
                            box-shadow: 0 0 5px #85271b inset;
                            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: #85271b;
                            background-color: transparent;
                        }
                        .pagination li a.page-link:before,
                        .pagination li a.page-link:after{
                            content: '';
                            background-color: #fff;
                            height: 100%;
                            width: 100%;
                            transform: scale(0);
                            opacity: 0;
                            position: absolute;
                            left: 0;
                            top: 0;
                            z-index: -1;
                            -webkit-clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
                            clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
                            transition: all 0.3s;
                        }
                        .pagination li a.page-link:after{ transform:scale(2) rotate(0); }
                        .pagination li a.page-link:hover:before,
                        .pagination li.active a.page-link:before{
                            opacity: 1;
                            transform:scale(1.2);
                        }
                        .pagination li a.page-link:hover:after,
                        .pagination li.active a.page-link:after{
                            opacity: 1;
                            transform: scale(1.2) rotate(40deg);
                        }
                        @media only screen and (max-width: 480px){
                            .pagination{ display: block; }
                            .pagination li{
                                margin-bottom: 10px;
                                display: inline-block;
                            }
                        }
                    
License Terms