tab style : demo 50

Section 1

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras nec urna aliquam, ornare eros vel, malesuada lorem. Nullam faucibus lorem at eros consectetur lobortis. Maecenas nec nibh congue, placerat sem id, rutrum velit. Phasellus porta enim at facilisis condimentum. Maecenas pharetra dolor vel elit tempor pellentesque sed sed eros. Aenean vitae mauris tincidunt, imperdiet orci semper, rhoncus ligula. Vivamus scelerisque.

Section 2

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras nec urna aliquam, ornare eros vel, malesuada lorem. Nullam faucibus lorem at eros consectetur lobortis. Maecenas nec nibh congue, placerat sem id, rutrum velit. Phasellus porta enim at facilisis condimentum. Maecenas pharetra dolor vel elit tempor pellentesque sed sed eros. Aenean vitae mauris tincidunt, imperdiet orci semper, rhoncus ligula. Vivamus scelerisque.

Section 3

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras nec urna aliquam, ornare eros vel, malesuada lorem. Nullam faucibus lorem at eros consectetur lobortis. Maecenas nec nibh congue, placerat sem id, rutrum velit. Phasellus porta enim at facilisis condimentum. Maecenas pharetra dolor vel elit tempor pellentesque sed sed eros. Aenean vitae mauris tincidunt, imperdiet orci semper, rhoncus ligula. Vivamus scelerisque.

HTML

                        

Section 1

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras nec urna aliquam, ornare eros vel, malesuada lorem. Nullam faucibus lorem at eros consectetur lobortis. Maecenas nec nibh congue, placerat sem id, rutrum velit. Phasellus porta enim at facilisis condimentum. Maecenas pharetra dolor vel elit tempor pellentesque sed sed eros. Aenean vitae mauris tincidunt, imperdiet orci semper, rhoncus ligula. Vivamus scelerisque.

Section 2

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras nec urna aliquam, ornare eros vel, malesuada lorem. Nullam faucibus lorem at eros consectetur lobortis. Maecenas nec nibh congue, placerat sem id, rutrum velit. Phasellus porta enim at facilisis condimentum. Maecenas pharetra dolor vel elit tempor pellentesque sed sed eros. Aenean vitae mauris tincidunt, imperdiet orci semper, rhoncus ligula. Vivamus scelerisque.

Section 3

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras nec urna aliquam, ornare eros vel, malesuada lorem. Nullam faucibus lorem at eros consectetur lobortis. Maecenas nec nibh congue, placerat sem id, rutrum velit. Phasellus porta enim at facilisis condimentum. Maecenas pharetra dolor vel elit tempor pellentesque sed sed eros. Aenean vitae mauris tincidunt, imperdiet orci semper, rhoncus ligula. Vivamus scelerisque.

CSS

                        .demo{ background: #d57d7d; }
                        a:hover,a:focus{
                            outline: none;
                            text-decoration: none;
                        }
                        .tab .nav-tabs{
                            position: relative;
                            border-bottom: 0 none;
                        }
                        .tab .nav-tabs li{
                            text-align: center;
                        }
                        .tab .nav-tabs li a{
                            display: block;
                            height: 70px;
                            line-height: 65px;
                            background: linear-gradient(165deg, transparent 29%, #908a78 30%);
                            font-size: 15px;
                            font-weight: 600;
                            color: #fff;
                            text-transform: uppercase;
                            margin-right: 0;
                            border-radius: 0;
                            border: none;
                            position: relative;
                            transition: all 0.5s ease 0s;
                        }
                        .tab .nav-tabs li.active a,
                        .tab .nav-tabs li a:hover{
                            background: linear-gradient(165deg, transparent 29%, #efe8d5 30%);
                            border: none;
                            color: #908a78;
                        }
                        .tab .nav-tabs li a:before{
                            content: "";
                            height: 70px;
                            line-height: 90px;
                            border-bottom: 70px solid rgba(0, 0, 0, 0.1);
                            border-right: 10px solid transparent;
                            position: absolute;
                            top: 0;
                            left: 100%;
                            z-index: 1;
                        }
                        .tab .nav-tabs li:last-child a:before{
                            border: none;
                        }
                        .tab .tab-content{
                            font-size: 14px;
                            color: #6f6c6c;
                            line-height: 26px;
                            background: #efe8d5;
                            padding: 20px;
                        }
                        .tab .tab-content h3{
                            font-size: 24px;
                            color: #6f6c6c;
                            margin-top: 0;
                        }
                        .tab .tab-content p{
                            margin-bottom: 0;
                        }
                        @media only screen and (max-width: 480px){
                            .tab .nav-tabs li{
                                width: 100%;
                                margin-bottom: 8px;
                            }
                            .tab .nav-tabs li:last-child{
                                margin-bottom: 0;
                            }
                            .tab .nav-tabs li a:before{
                                border: none;
                            }
                        }
                    

JavaScript

(Tab depend on jQuery and Bootstrap.)
                        
                        
                    
License Terms