pagination style : demo 29

HTML

(CSS Framwork: Bootstrap)

CSS

(Fonts required: Nunito Sans.)
                        .pagination-outer{ text-align: center; }
                        .pagination{
                            font-family: 'Nunito Sans', sans-serif;
                            display: inline-flex;
                            position: relative;
                        }
                        .pagination li a.page-link{
                            color: #fc7f0a;
                            background-color: transparent;
                            font-size: 20px;
                            font-weight: 700;
                            line-height: 28px;
                            height: 40px;
                            width: 40px;
                            margin: 0 3px 10px;
                            border: none;
                            overflow: hidden;
                            position: relative;
                            z-index: 1;
                            transition: all 0.4s ease 0s;
                            -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
                            clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
                        }
                        .pagination li.active a.page-link,
                        .pagination li a.page-link:hover,
                        .pagination li.active a.page-link:hover{
                            color: #fff;
                            background-color: transparent;
                            text-shadow: 0 0 2px #777;
                        }
                        .pagination li:first-child a.page-link,
                        .pagination li:last-child a.page-link{
                            background-color: rgba(0,0,0,0.05);
                        }
                        .pagination li a.page-link:before{
                            content: "";
                            background: #fc7f0a;
                            width: 25px;
                            height: 25px;
                            border-radius: 50%;
                            transform: translateY(-50%);
                            position: absolute;
                            top: 50%;
                            left: 300px;
                            z-index: -1;
                            transition: left 0.3s ease 0s,
                                    border-radius 0.3s ease 0.3s,
                                    height 0.3s ease 0.3s,
                                    width 0.3s ease 0.5s;
                        }
                        .pagination li a.page-link:hover:before,
                        .pagination li.active a.page-link:before{
                            height: 105%;
                            width: 100%;
                            border-radius: 0;
                            left: 0;
                        }
                        @media only screen and (max-width: 480px){
                            .pagination{ display: block; }

                            .pagination li{
                                margin-bottom: 10px;
                                display: inline-block;
                            }
                        }
                    
License Terms