pagination style : demo 89

HTML

(CSS Framwork: Bootstrap)

CSS

(Fonts required: Nunito.)
                        .pagination-outer{ text-align: center; }
                        .pagination{
                            font-family: 'Nunito', sans-serif;
                            display: inline-flex;
                        }
                        .pagination li{ margin: 0 7px; }
                        .pagination li a.page-link{
                            color: #fff;
                            background: #0a3d62;
                            font-size: 18px;
                            font-weight: 700;
                            text-shadow: 0 0 5px rgba(0,0,0,0.5);
                            line-height: 44px;
                            height: 43px;
                            width: 33px;
                            padding: 0;
                            border: none;
                            border-radius: 30px 30px/40px 40px;
                            display: block;
                            position: relative;
                            z-index: 1;
                            transition: all 0.3s ease 0s;
                        }
                        .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{
                            color: #fa983a;
                            background: #0a3d62;
                            border: none;
                        }
                        .pagination li a.page-link:before{
                            content: '';
                            background-color: #fa983a;
                            height: 100%;
                            width: 100%;
                            border-radius: 30px 30px/40px 40px;
                            transform: scale(0.86);
                            transform-origin: top center;
                            position: absolute;
                            left: 0;
                            top: 3px;
                            z-index: -1;
                            transition: all 0.6s ease 0s;
                        }
                        .pagination li.active a.page-link:before,
                        .pagination li a.page-link:hover:before,
                        .pagination li a.page-link:focus:before{
                            opacity: 0;
                            transform: scale(1) rotateX(360deg);
                            top: 0;
                        }
                        .pagination li:first-child a.page-link,
                        .pagination li:last-child a.page-link{
                            background: #0a3d62;
                            font-size: 28px;
                            line-height: 30px;
                            height: 33px;
                            padding: 0 5px;
                            margin: 7px 0;
                            border-radius: 30px;
                        }
                        .pagination li:first-child a.page-link:hover,
                        .pagination li:last-child a.page-link:hover{
                            color: #fff;
                            background: #fa983a;
                        }
                        .pagination li:first-child a.page-link:before,
                        .pagination li:last-child a.page-link:before,
                        .pagination li:first-child a.page-link:after,
                        .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{
                                margin: 5px 7px;
                                display: inline-block;
                            }
                        }
                    
License Terms