pagination style : demo 18

HTML

CSS

                        .pagination-outer{ text-align: center; }
                        .pagination{
                            display: inline-flex;
                            border-radius: 0;
                            overflow: hidden;
                            position: relative;
                        }
                        .pagination li a.page-link{
                            width: 50px;
                            height: 45px;
                            line-height: 35px;
                            border-radius: 0;
                            border: none;
                            font-size: 20px;
                            font-weight: 700;
                            color: #9b6a20;
                            letter-spacing: 1px;
                            text-transform: uppercase;
                            z-index: 1;
                            margin: 0 10px 10px 0;
                            position: relative;
                            transition: all 0.4s ease 0s;
                        }
                        .pagination li.active a.page-link,
                        .pagination li a.page-link:hover,
                        .pagination li.active a.page-link:hover{
                            color: #2c8865;
                            background: transparent;
                        }
                        .pagination li:first-child a.page-link,
                        .pagination li:last-child a.page-link{
                            height: 50px;
                            line-height: 40px;
                            background: #2c8865;
                            font-size: 17px;
                            color: #fff;
                            -webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
                            clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
                        }
                        .pagination li:last-child a.page-link{ margin-right: 0; }
                        .pagination li:first-child a.page-link:hover,
                        .pagination li:last-child a.page-link:hover{
                            background: #031926;
                            color: #fff;
                            transform: rotate(1turn);
                        }
                        .pagination li a.page-link:before{
                            content: "";
                            width: 0;
                            height: 2px;
                            background: #031926;
                            position: absolute;
                            bottom: 0;
                            left: 0;
                            transition: all 0.3s ease 0s;
                        }
                        .pagination li a.page-link:hover:before,
                        .pagination li.active a.page-link:before{ width: 100%; }
                        .pagination li a.page-link:after{
                            content: "";
                            width: 17px;
                            height: 17px;
                            background: #2c8865;
                            margin: 0 auto;
                            position: absolute;
                            bottom: -7px;
                            left: 0;
                            right: 0;
                            opacity: 0;
                           -webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
                            clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
                            transition: all 0.3s ease 0s;
                        }
                        .pagination li a.page-link:hover:after,
                        .pagination li.active a.page-link:after{
                            opacity: 1;
                            transform: rotate(1turn);
                        }
                        .pagination li:first-child a.page-link:hover:before,
                        .pagination li:last-child a.page-link:hover:before,
                        .pagination li:last-child a.page-link:hover:after,
                        .pagination li:first-child a.page-link:hover:after{ display: none; }
                        @media only screen and (max-width: 480px){
                            .pagination{ display: block; }
                            .pagination li{
                                display: inline-block;
                                margin-bottom: 10px;
                            }
                        }
                    
License Terms