pagination style : demo 97

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;
                            z-index: 1;
                        }
                        .pagination li a.page-link{
                            color: #ea1982;
                            background: transparent;
                            font-size: 25px;
                            font-weight: 500;
                            line-height: 32px;
                            height: 35px;
                            width: 35px;
                            padding: 0;
                            margin: 0 5px;
                            border: none;
                            border-radius: 0;
                            display: block;
                            position: relative;
                            transition: all 0.3s ease 0.1s;
                        }
                        .pagination li a.page-link:hover,
                        .pagination li a.page-link:focus,
                        .pagination li.active a.page-link{
                            color: #fff;
                            background: #ea1982;
                            box-shadow: 0 0 10px -2px rgba(0,0,0,0.5);
                        }
                        .pagination li:first-child a.page-link,
                        .pagination li:last-child a.page-link{
                            font-size: 35px;
                            line-height: 23px;
                            border: 2px solid #ea1982;
                        }
                        .pagination li a.page-link:before,
                        .pagination li a.page-link:after{
                            content: '';
                            border: 2px solid #e1e1e1;
                            border-right: none;
                            border-bottom: none;
                            height: 50%;
                            width: 50%;
                            position: absolute;
                            left: 0;
                            top: 0;
                            transition: all 0.3s ease 0s;
                        }
                        .pagination li a.page-link:after{
                            border: 2px solid #e1e1e1;
                            border-top: none;
                            border-left: none;
                            top: auto;
                            bottom: 0;
                            left: auto;
                            right: 0;
                        }
                        .pagination li.active a.page-link:before,
                        .pagination li a.page-link:hover:before,
                        .pagination li.active a.page-link:after,
                        .pagination li a.page-link:hover:after{
                            height: 100%;
                            width: 100%;
                            border-color: #ea1982;
                        }
                        .pagination li:first-child a.page-link:before,
                        .pagination li:first-child a.page-link:after,
                        .pagination li:last-child a.page-link:before,
                        .pagination li:last-child a.page-link:after{
                            display: none;
                        }
                        @media only screen and (max-width: 480px){
                            .pagination{
                                font-size: 0;
                                display: block;
                            }
                            .pagination li{
                                display: inline-block;
                                margin: 0 0 10px;
                            }
                        }
                    
License Terms