pagination style : demo 13

HTML

CSS

                        .pagination-outer{ text-align: center; }
                        .pagination{
                            display: inline-flex;
                            padding: 3px 10px;
                            position: relative;
                        }
                        .pagination li a.page-link{
                            width: 45px;
                            height: 45px;
                            line-height: 41px;
                            border-radius: 10%;
                            border: 2px solid #52338d;
                            background: transparent;
                            padding: 0;
                            margin: 0 12px 0 0;
                            font-size: 20px;
                            font-weight: 600;
                            color: #52338d;
                            overflow: hidden;
                            position: relative;
                            transition: all 0.3s ease 0s;
                        }
                        .pagination li:first-child a.page-link,
                        .pagination li:last-child a.page-link{
                            background: #52338d;
                            font-size: 30px;
                            color: #fff;
                            line-height: 35px;
                        }
                        .pagination li.active a.page-link,
                        .pagination li a.page-link:hover,
                        .pagination li.active a.page-link:hover{
                            background: transparent;
                            color: #52338d;
                            border-color: #52338d;
                            box-shadow: 1px -1px 7px rgba(0,0,0,0.9);
                        }
                        .pagination li a.page-link:before,
                        .pagination li a.page-link:after{
                            content: "";
                            width: 100%;
                            height: 100%;
                            background: linear-gradient(135deg,#723d86,#52338d);
                            position: absolute;
                            top: -10px;
                            left: -10px;
                            -webkit-clip-path: polygon(0% 0%, 0% 100%, 25% 73%, 25% 25%, 75% 25%, 25% 75%, 25% 75%, 100% 0%);
                            clip-path: polygon(0% 0%, 0% 100%, 25% 73%, 25% 25%, 75% 25%, 25% 75%, 25% 75%, 100% 0%);
                            transition: all 0.3s ease 0s;
                        }
                        .pagination li a.page-link:after{
                            top: 10px;
                            left: 10px;
                            -webkit-clip-path: polygon(0% 100%, 25% 100%, 25% 75%, 75% 25%, 75% 75%, 25% 75%, 25% 100%, 100% 100%, 100% 0%);
                            clip-path: polygon(0% 100%, 25% 100%, 25% 75%, 75% 25%, 75% 75%, 25% 75%, 25% 100%, 100% 100%, 100% 0%);
                        }
                        .pagination li.active a.page-link:before,
                        .pagination li a.page-link:hover:before{
                            top: 0;
                            left: -2px;
                        }
                        .pagination li.active a.page-link:after,
                        .pagination li a.page-link:hover:after{
                            top: 0;
                            left: 2px;
                        }
                        @media only screen and (max-width: 480px){
                            .pagination{ display: block; }
                            .pagination li{
                                display: inline-block;
                                margin-bottom: 20px;
                            }
                        }
                    
License Terms