pagination style : demo 27

HTML

(CSS Framwork: Bootstrap)

CSS

(Fonts required: Bree Serif.)
                        .pagination-outer{ text-align: center; }
                        .pagination{
                            font-family: 'Bree Serif', serif;
                            display: inline-flex;
                            position: relative;
                        }
                        .pagination li a.page-link{
                            color: #372f7f;
                            background: transparent;
                            font-size: 27px;
                            line-height: 19px;
                            height: 35px;
                            width: 35px;
                            margin: 5px;
                            border: none;
                            overflow: hidden;
                            position: relative;
                            z-index: 1;
                            transition: all 0.4s ease 0.2s;
                        }
                        .pagination li.active a.page-link,
                        .pagination li a.page-link:hover,
                        .pagination li.active a.page-link:hover{
                            color: #fff;
                            background-color: transparent;
                            border: none;
                        }
                        .pagination li a.page-link:before{
                            content: "";
                            background: linear-gradient(135deg,#2655c1,#372f7f,#2655c1,#372f7f,#2655c1);
                            width: 20px;
                            height: 20px;
                            border-radius: 50%;
                            transform: translate(-50%, -50%);
                            position: absolute;
                            left: 50%;
                            top: -50%;
                            z-index: -1;
                            transition: top .5s ease-in .5s, width .5s ease-out, height .5s ease-out;
                        }
                        .pagination li a.page-link:hover:before,
                        .pagination li.active a.page-link:before{
                            width: 200px;
                            height: 200px;
                            top: 50%;
                            transition: top .5s ease-in, width .5s ease-out .5s, height .5s ease-out .5s;
                        }
                        @media only screen and (max-width: 480px){
                            .pagination{ display: block; }
                            .pagination li{
                                margin-bottom: 10px;
                                display: inline-block;
                            }
                        }
                    
License Terms