pagination style : demo 78

HTML

(CSS Framwork: Bootstrap)

CSS

(Fonts required: Montserrat.)
                        .pagination-outer{ text-align: center; }
                        .pagination{
                            background-color: #b71540;
                            font-family: 'Montserrat', sans-serif;
                            padding: 0 15px;
                            display: inline-flex;
                        }
                        .pagination li a.page-link{
                            color: #fff;
                            background-color: transparent;
                            font-size: 17px;
                            font-weight: 500;
                            line-height: 45px;
                            height: 45px;
                            width: 45px;
                            padding: 0;
                            margin: 0;
                            border: none;
                            border-radius: 0;
                            display: block;
                            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: #b71540;
                            background-color: #fff;
                            height: 20px;
                            width: 20px;
                            line-height: 18px;
                            margin: 12px 30px 12px 0;
                            border-radius: 50%;
                        }
                        .pagination li:last-child a.page-link{ margin: 12px 0 12px 30px; }
                        .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: #fff;
                            background-color: transparent;
                            box-shadow: 0 0 5px rgba(0,0,0,0.5) inset;
                        }
                        .pagination li a.page-link:before{
                            content: '';
                            background-color: #333;
                            height: 0;
                            width: 100%;
                            position: absolute;
                            left: 0;
                            top: 0;
                            transition: all 0.3s ease 0s;
                        }
                        .pagination li:first-child a.page-link:before,
                        .pagination li:last-child a.page-link:before{
                            display: none;
                        }
                        .pagination li a.page-link:hover:before,
                        .pagination li a.page-link:focus:before,
                        .pagination li.active a.page-link:before{
                            height: 100%;
                            opacity: 0;
                        }
                        @media only screen and (max-width: 480px){
                            .pagination{
                                font-size: 0;
                                display: block;
                            }
                            .pagination li{
                                display: inline-block;
                            }
                        }
                    
License Terms