pagination style : demo 131

HTML

(CSS Framwork: Bootstrap)

CSS

(Fonts required: Ubuntu.)
                    .pagination-outer{ text-align: center; }
                    .pagination{
                        font-family: 'Ubuntu', sans-serif;
                        display: inline-flex;
                        position: relative;
                    }
                    .pagination li a.page-link{
                        color: #f1f1f1;
                        background-color: #333;
                        font-size: 20px;
                        font-weight: 600;
                        line-height: 38px;
                        height: 42px;
                        width: 42px;
                        padding: 0;
                        margin: 0 8px;
                        border: 2px solid transparent;
                        border-radius: 0;
                        position: relative;
                        z-index: 1;
                        transition: all 0.3s ease 0s;
                    }
                    .pagination li:first-child a.page-link,
                    .pagination li:last-child a.page-link{
                        color: #ff3653;
                        background-color: transparent;
                        border-color: #ff3653;
                        line-height: 35px;
                    }
                    .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: #fff;
                        background: #fff;
                        border: 2px solid #ff3653;
                    }
                    .pagination li a.page-link:before{
                        content: '';
                        background-color: #ff3653;
                        height: 100%;
                        width: 100%;
                        opacity: 0;
                        transform: rotate(0) scale(1);
                        position: absolute;
                        left: 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:before{
                        opacity: 1;
                        transform: rotate(-45deg) scale(0.8);
                    }
                    @media only screen and (max-width: 480px){
                        .pagination{
                            font-size: 0;
                            border: none;
                            display: inline-block;
                        }
                        .pagination li{
                            display: inline-block;
                            vertical-align: top;
                            margin: 0 0 10px;
                        }
                    }
                    
License Terms