pagination style : demo 44

HTML

(CSS Framwork: Bootstrap)

CSS

(Fonts required: Oxygen.)
                        :root{ --color: #009432; }
                        .pagination-outer{ text-align: center; }
                        .pagination{
                            font-family: 'Oxygen', sans-serif;
                            padding: 20px 0;
                            display: inline-flex;
                            position: relative;
                        }
                        .pagination:before{
                            content: '';
                            background: var(--color);
                            height: 5px;
                            width: 99%;
                            position: absolute;
                            left: 0;
                            top: 0;
                        }
                        .pagination li a.page-link{
                            color: var(--color);
                            background-color: transparent;
                            font-size: 22px;
                            font-weight: 600;
                            line-height: 33px;
                            height: 35px;
                            width: 45px;
                            padding: 0;
                            margin: 0 7px;
                            border: none;
                            border-radius: 10px;
                            position: relative;
                            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;
                        }
                        .pagination li a.page-link:before,
                        .pagination li a.page-link:after{
                            content: '';
                            background-color: var(--color);
                            width: 100%;
                            height: 100%;
                            border-radius: 10px;
                            opacity: 0;
                            position: absolute;
                            top: 0;
                            left: 0;
                            z-index: -1;
                            transition: all 0.3s ease 0s;
                        }
                        .pagination li a.page-link:after{
                            width: 10px;
                            height: 18px;
                            transform: translateX(-50%);
                            top: -10px;
                            left: 50%;
                            -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
                            clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
                        }
                        .pagination li.active a.page-link:before,
                        .pagination li a.page-link:hover:before{
                            opacity: 1;
                        }
                        .pagination li.active a.page-link:after,
                        .pagination li a.page-link:hover:after{
                            opacity: 1;
                            top: -15px;
                        }
                        .pagination li:first-child a.page-link,
                        .pagination li:last-child a.page-link{
                            background-color: #fff;
                            border-radius: 50%;
                            line-height: 16px;
                            height: 28px;
                            width: 28px;
                            margin: -33px 0 0;
                            border: 3px solid var(--color);
                        }
                        .pagination li:first-child a.page-link{ border-color: var(--color); }
                        .pagination li:first-child a.page-link:before,
                        .pagination li:first-child a.page-link:after,
                        .pagination li:last-child a.page-link:before,
                        .pagination li:last-child a.page-link:after{
                            display: none;
                        }
                        .pagination li:first-child a.page-link:hover,
                        .pagination li:last-child a.page-link:hover{
                            color: var(--color);
                            box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color);
                        }
                        @media only screen and (max-width: 480px){
                            .pagination:before{ display: none; }
                            .pagination{
                                display: block;
                                padding: 0;
                                margin: 0;
                            }
                            .pagination li{
                                margin: 5px 2px;
                                display: inline-block;
                            }
                            .pagination li a.page-link{ margin: 0; }
                            .pagination li a.page-link:after{ display: none; }
                        }
                    
License Terms