pagination style : demo 118

HTML

(CSS Framwork: Bootstrap)

CSS

(Fonts required: Ubuntu.)
                        .pagination-outer{ text-align: center; }
                        .pagination{
                            font-family: 'Ubuntu', sans-serif;
                            padding: 10px;
                            display: inline-flex;
                            position: relative;
                        }
                        .pagination li a.page-link{
                            color: #999;
                            background-color: transparent;
                            font-size: 20px;
                            font-weight: 500;
                            line-height: 33px;
                            height: 33px;
                            width: 33px;
                            padding: 0;
                            margin: 0 7px;
                            border: none;
                            position: relative;
                            z-index: 1;
                            transition: all 0.5s ease 0s;
                        }
                        .pagination li a.page-link:hover,
                        .pagination li a.page-link:focus,
                        .pagination li.active a.page-link:hover,
                        .pagination li.active a.page-link{
                            color: #7338ba;
                            background: transparent;
                            box-shadow: none;
                        }
                        .pagination li a.page-link:before{
                            content: '';
                            border: 2px solid #999;
                            border-bottom-color: transparent;
                            height: 100%;
                            width: 100%;
                            position: absolute;
                            right: 0;
                            top: 0;
                            z-index: -1;
                            transition: all 0.3s ease 0s;
                        }
                        .pagination li a.page-link:hover:before,
                        .pagination li a.page-link:focus:before,
                        .pagination li.active a.page-link:hover:before,
                        .pagination li.active a.page-link:before{
                            border-color: #7338ba;
                            border-bottom-color: transparent;
                            box-shadow: 0 3px 3px rgba(0,0,0,0.2) inset;
                            transform: rotate(180deg);
                        }
                        @media only screen and (max-width: 480px){
                            .pagination{
                                font-size: 0;
                                display: inline-block;
                            }
                            .pagination li{
                                display: inline-block;
                                vertical-align: top;
                                margin: 0 0 10px;
                            }
                        }
                    
License Terms