pagination style : demo 5

HTML

CSS

                        .pagination-outer{ text-align: center; }
                        .pagination{
                            display: inline-flex;
                            overflow: hidden;
                            position: relative;
                        }
                        .pagination:after{
                            content: "";
                            width: 80%;
                            height: 1px;
                            background: radial-gradient(#000 5%,transparent);
                            margin: 0 auto;
                            position: absolute;
                            bottom:0;
                            left: 0;
                            right: 0;
                        }
                        .pagination li a.page-link{
                            padding: 5px 15px;
                            background: transparent;
                            border: none;
                            border-radius: 0;
                            font-size: 25px;
                            font-weight: 600;
                            color: #000;
                            transition: all 0.3s ease 0s;
                        }
                        .pagination li a.page-link:after,
                        .pagination li.active a.page-link:after,
                        .pagination li a.page-link:hover:after{
                            content: "";
                            width: 20px;
                            margin: 0 auto;
                            border: 10px solid transparent;
                            border-bottom: 10px solid #000;
                            position: absolute;
                            bottom: 0;
                            left: 0;
                            right: 0;
                            transition: all 0.3s ease 0s;
                        }
                        .pagination li a.page-link:after{ bottom: -20px; }
                        .pagination li:first-child a.page-link,
                        .pagination li:last-child a.page-link{ color: #808080; }
                        .pagination li:first-child a.page-link:hover,
                        .pagination li:last-child a.page-link:hover{ color: #fff; }
                        .pagination li:first-child a.page-link:after,
                        .pagination li:last-child a.page-link:after{
                            content: "";
                            width: 35px;
                            height: 35px;
                            border-radius: 50%;
                            background: #000;
                            border: none;
                            position: absolute;
                            bottom: 50%;
                            left: 0;
                            z-index: -1;
                            transform: translateY(50%) scale(0);
                        }
                        .pagination li:first-child a.page-link:hover:after,
                        .pagination li:last-child a.page-link:hover:after{
                            bottom: 2px;
                            transform: translateY(0) scale(1);
                        }
                        .pagination li.active a.page-link,
                        .pagination li a.page-link:hover,
                        .pagination li.active a.page-link:hover{
                            background: transparent;
                            color: #ff0000;
                        }
                    
License Terms