pagination style : demo 2

CSS

                        .pagination-outer{ text-align: center; }
                        .pagination{ display: inline-flex; }
                        .pagination li a.page-link{
                            width: 40px;
                            height: 40px;
                            line-height: 40px;
                            border-radius: 10px;
                            background: #043844;
                            border: none;
                            font-size: 17px;
                            font-weight: 600;
                            color: #fff;
                            padding: 0;
                            margin-right: 5px;
                            position: relative;
                            transition: all 0.3s ease 0s;
                        }
                        .pagination li:first-child a.page-link,
                        .pagination li:last-child a.page-link{
                            width: 60px;
                            border-radius: 0 10px 10px 0;
                        }
                        .pagination li:last-child a.page-link{ border-radius: 10px 0 0 10px; }
                        .pagination li:first-child a.page-link:before,
                        .pagination li:last-child a.page-link:before{
                            content: "";
                            border-right: 20px solid #043844;
                            border-top: 20px solid transparent;
                            border-bottom: 20px solid transparent;
                            position: absolute;
                            top: 0;
                            left: -20px;
                            transition: all 0.3s ease 0s;
                        }
                        .pagination li:last-child a.page-link:before{
                            border-right: none;
                            border-left: 20px solid #043844;
                            left: auto;
                            right: -20px;
                        }
                        .pagination li:first-child a.page-link:hover:before{ border-right-color: #ff2d2d; }
                        .pagination li:last-child a.page-link:hover:before{ border-left-color: #ff2d2d; }
                        .pagination li a.page-link:hover,
                        .pagination .active a.page-link,
                        .pagination .active a.page-link:hover{ background: #ff2d2d; }
                        @media only screen and (max-width: 479px){
                            .pagination{ display: block; }
                        }
                    
License Terms