pagination style : demo 90

HTML

(CSS Framwork: Bootstrap)

CSS

(Fonts required: Nunito.)
                        .pagination-outer{ text-align: center; }
                        .pagination{
                            font-family: 'Poppins', sans-serif;
                            display: inline-flex;
                        }
                        .pagination li{ margin: 0; }
                        .pagination li a.page-link{
                            color: #fff;
                            background: #4f0fcc;
                            font-size: 19px;
                            font-weight: 500;
                            line-height: 39px;
                            height: 38px;
                            width: 38px;
                            padding: 0;
                            border: none;
                            border-radius: 0;
                            display: block;
                            position: relative;
                            z-index: 1;
                            clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
                            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,
                        .pagination li a.page-link:focus{
                            color: #4f0fcc;
                            background: #4f0fcc;
                            font-weight: 700;
                            border: none;
                        }
                        .pagination li a.page-link:before{
                            content: '';
                            background-color: #fff;
                            height: 100%;
                            width: 100%;
                            opacity: 0;
                            position: absolute;
                            left: 0;
                            top: 0;
                            z-index: -1;
                            clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
                            transition: all 0.6s ease 0s;
                        }
                        .pagination li.active a.page-link:before,
                        .pagination li a.page-link:hover:before,
                        .pagination li a.page-link:focus:before{
                            opacity: 1;
                            transform: scale(0.8);
                        }
                        @media only screen and (max-width: 480px){
                            .pagination{
                                font-size: 0;
                                display: block;
                            }
                            .pagination li{
                                margin: 5px 0;
                                display: inline-block;
                            }
                        }
                    
License Terms