pagination style : demo 86

HTML

(CSS Framwork: Bootstrap)

CSS

(Fonts required: Nunito.)
                        .pagination{
                            background-color: #0436FB;
                            font-family: 'Nunito', sans-serif;
                            display: inline-flex;
                            padding: 10px;
                            border-radius: 30px/50px;
                        }
                        .pagination li{
                            margin: 0 7px;
                            overflow: hidden;
                            position: relative;
                        }
                        .pagination li:after{
                            content: '';
                            background-color: #44E9AB;
                            height: 100%;
                            width: 2px;
                            margin: 0 auto;
                            position: absolute;
                            left: 0;
                            right: 0;
                            top: 100%;
                            z-index: 1;
                            transition: all 0.3s ease 0s;
                        }
                        .pagination li.active:after,
                        .pagination li:hover:after{
                            top: -100%;
                        }
                        .pagination li a.page-link{
                            color: #fff;
                            background: #fff;
                            font-size: 20px;
                            font-weight: 700;
                            line-height: 32px;
                            height: 30px;
                            width: 30px;
                            padding: 0;
                            border: none;
                            border-radius: 0;
                            display: block;
                            overflow: hidden;
                            position: relative;
                            z-index: 1;
                            transition: all 0.5s ease 0s;
                        }
                        .pagination li.active a.page-link,
                        .pagination li a.page-link:hover,
                        .pagination li.active a.page-link:hover,
                        .pagination li a.page-link:focus,
                        .pagination li.active a.page-link:focus{
                            color: #0436FB;
                            background: #fff;
                            border: none;
                            box-shadow: none;
                        }
                        .pagination li a.page-link:before,
                        .pagination li a.page-link:after{
                            content: '';
                            background-color: #0436FB;
                            width: 50%;
                            height: 100%;
                            transform-origin: left bottom;
                            position: absolute;
                            left: 0;
                            top: 0;
                            z-index: -1;
                            transition: all 0.3s ease 0s;
                        }
                        .pagination li a.page-link:after{
                            transform-origin: right bottom;
                            left: auto;
                            right: 0;
                        }
                        .pagination li a.page-link:hover:before,
                        .pagination li a.page-link:focus:before,
                        .pagination li.active a.page-link:before{
                            transform: rotate(-90deg);
                            transform-origin: left bottom;
                        }
                        .pagination li a.page-link:hover:after,
                        .pagination li a.page-link:focus:after,
                        .pagination li.active a.page-link:after{
                            transform: rotate(90deg);
                            transform-origin: right bottom;
                        }
                        @media only screen and (max-width: 480px){
                            .pagination{
                                font-size: 0;
                                display: block;
                            }
                            .pagination li{
                                margin: 5px 7px;
                                display: inline-block;
                            }
                        }
                    
License Terms