pagination style : demo 40

HTML

(CSS Framwork: Bootstrap)

CSS

(Fonts required: ZCOOL QingKe HuangYou.)
                        .pagination-outer{ text-align: center; }
                        .pagination{
                            font-family: 'ZCOOL QingKe HuangYou', cursive;
                            display: inline-flex;
                            position: relative;
                        }
                        .pagination li a.page-link{
                            color: #fff;
                            background-color: orangered;
                            font-size: 20px;
                            font-weight: 700;
                            line-height: 32px;
                            height: 50px;
                            width: 50px;
                            margin: 0 6px;
                            border: 2px solid orangered;
                            border-radius: 50%;
                            box-shadow: 0 0 0 8px #fff inset;
                            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{
                            color: orangered;
                            background-color: transparent;
                        }
                        .pagination li a.page-link:before,
                        .pagination li a.page-link:after{
                            content: '';
                            height: 90%;
                            width: 90%;
                            border: 2px dashed #000;
                            border-radius: 50%;
                            opacity: 0;
                            transform: translateX(-50%) translateY(-50%);
                            position: absolute;
                            left: 50%;
                            top: 50%;
                            transition: all 0.3s;
                        }
                        .pagination li a.page-link:after{
                            background: linear-gradient(135deg,orangered 49%, transparent 50%);
                            height: 25px;
                            width: 25px;
                            box-shadow: 0 0 0 3px #fff;
                            border-radius: 0;
                            border: none;
                            opacity: 0;
                            transform: translateX(-50%) translateY(0) rotate(45deg);
                            top: auto;
                            bottom: -40px;
                            left: 50%;
                            transition: all 0.3s;
                        }
                        .pagination li a.page-link:hover:before,
                        .pagination li.active a.page-link:before{
                            opacity: 1;
                        }
                        .pagination li a.page-link:hover:after,
                        .pagination li.active a.page-link:after{
                            bottom: -20px;
                            opacity: 1;
                        }
                        @media only screen and (max-width: 480px){
                            .pagination{ display: block; }
                            .pagination li{
                                margin: 10px 0;
                                display: inline-block;
                            }
                        }
                    
License Terms