content logo

Bootstrap Tabs:

Bootstrap Sliding Up Tabs

A beautiful tab has a significant impact on attracting more visitors to your website. Tabs are so functional; Because they can help you set much information in less space. So, you can save space and beautify your website by using these tabs. The Bootstrap Sliding Up Tabs are represented here with an attractive design. As you can see in the preview of this code, the shown bootstrap has a large difference from other tabs. Other tabs have a white background, and the effect has a color. While in these CSS Orange Tabs, you can see a colored background, and the effect will be white. The Bootstrap Tabs Background is so creative and attractive.

As you can see in these bootstrap tabs, the main page is orange, and the text has a white background. The writings are also black. You can see a beautiful hover effect as you move the mouse or select a specific section. This Slide Up Effect is so attractive and eye-catching. There are some dark orange lines under each section. The effect of this tab is bottom to up. You can use these Bootstrap Tabs with Effect to easily organize your website's data.

#

Bootstrap Tabs with Effect

#

CSS Orange Tabs

#

Slide Up Effect

#

Bootstrap Tabs Background

<!-- This script got from frontendfreecode.com -->
<div class="demo">
    <div class="container">
        <div class="row">
            <div class="col-md-offset-3 col-md-6">
                <div class="tab" role="tabpanel">
                    <!-- Nav tabs -->
                    <ul class="nav nav-tabs" role="tablist">
                        <li role="presentation" class="active"><a href="#Section1" aria-controls="home" role="tab" data-toggle="tab">Section 1</a></li>
                        <li role="presentation"><a href="#Section2" aria-controls="profile" role="tab" data-toggle="tab">Section 2</a></li>
                        <li role="presentation"><a href="#Section3" aria-controls="messages" role="tab" data-toggle="tab">Section 3</a></li>
                    </ul>
                    <!-- Tab panes -->
                    <div class="tab-content tabs">
                        <div role="tabpanel" class="tab-pane fade in active" id="Section1">
                            <h3>Section 1</h3>
                            <p>
                                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.
                            </p>
                        </div>
                        <div role="tabpanel" class="tab-pane fade" id="Section2">
                            <h3>Section 2</h3>
                            <p>
                                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.
                            </p>
                        </div>
                        <div role="tabpanel" class="tab-pane fade" id="Section3">
                            <h3>Section 3</h3>
                            <p>
                                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.
                            </p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div><a style="font-size: 8pt; text-decoration: none" target="_blank" href="http://frontendfreecode.com">Free Frontend</a>
                                                                            
.demo {
    background: #efd391;
    height: 800px;
    padding: 50px;
}
a:hover,
a:focus {
    outline: none;
    text-decoration: none;
}
.tab .nav-tabs {
    position: relative;
    border-bottom: none;
}
.tab .nav-tabs li {
    text-align: center;
    margin-right: 10px;
}
.tab .nav-tabs li a {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #444;
    padding: 10px 15px;
    background: transparent;
    margin-right: 0;
    border: none;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: all 0.5s ease 0s;
}
.tab .nav-tabs li a:before {
    content: "";
    width: 100%;
    height: 3px;
    background: #de7921;
    position: absolute;
    top: 92%;
    left: 0;
    transition: all 0.3s ease 0s;
}
.tab .nav-tabs li a:hover:before,
.tab .nav-tabs li.active a:before,
.tab .nav-tabs li.active a:hover:before {
    top: 0;
}
.tab .nav-tabs li a:after {
    content: "";
    width: 100%;
    height: 100%;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: -1;
    transition: all 0.3s ease 0s;
}
.tab .nav-tabs li a:hover:after,
.tab .nav-tabs li.active a:after,
.tab .nav-tabs li.active a:hover:after {
    top: 0;
}
.nav-tabs li.active a,
.nav-tabs li.active a:focus,
.nav-tabs li.active a:hover,
.nav-tabs li a:hover {
    border: none;
}
.tab .tab-content {
    padding: 30px 15px 20px;
    background: #fff;
    font-size: 14px;
    color: #555;
    line-height: 26px;
}
.tab .tab-content h3 {
    font-size: 24px;
    margin-top: 0;
}
@media only screen and (max-width: 479px) {
    .tab .nav-tabs li {
        width: 100%;
    }
}
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<script src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- This script got from frontendfreecode.com -->

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<script src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<style>
.demo {
    background: #efd391;
    height: 800px;
    padding: 50px;
}
a:hover,
a:focus {
    outline: none;
    text-decoration: none;
}
.tab .nav-tabs {
    position: relative;
    border-bottom: none;
}
.tab .nav-tabs li {
    text-align: center;
    margin-right: 10px;
}
.tab .nav-tabs li a {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #444;
    padding: 10px 15px;
    background: transparent;
    margin-right: 0;
    border: none;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: all 0.5s ease 0s;
}
.tab .nav-tabs li a:before {
    content: "";
    width: 100%;
    height: 3px;
    background: #de7921;
    position: absolute;
    top: 92%;
    left: 0;
    transition: all 0.3s ease 0s;
}
.tab .nav-tabs li a:hover:before,
.tab .nav-tabs li.active a:before,
.tab .nav-tabs li.active a:hover:before {
    top: 0;
}
.tab .nav-tabs li a:after {
    content: "";
    width: 100%;
    height: 100%;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: -1;
    transition: all 0.3s ease 0s;
}
.tab .nav-tabs li a:hover:after,
.tab .nav-tabs li.active a:after,
.tab .nav-tabs li.active a:hover:after {
    top: 0;
}
.nav-tabs li.active a,
.nav-tabs li.active a:focus,
.nav-tabs li.active a:hover,
.nav-tabs li a:hover {
    border: none;
}
.tab .tab-content {
    padding: 30px 15px 20px;
    background: #fff;
    font-size: 14px;
    color: #555;
    line-height: 26px;
}
.tab .tab-content h3 {
    font-size: 24px;
    margin-top: 0;
}
@media only screen and (max-width: 479px) {
    .tab .nav-tabs li {
        width: 100%;
    }
}
</style>

</head>
<body>
<div class="demo">
    <div class="container">
        <div class="row">
            <div class="col-md-offset-3 col-md-6">
                <div class="tab" role="tabpanel">
                    <!-- Nav tabs -->
                    <ul class="nav nav-tabs" role="tablist">
                        <li role="presentation" class="active"><a href="#Section1" aria-controls="home" role="tab" data-toggle="tab">Section 1</a></li>
                        <li role="presentation"><a href="#Section2" aria-controls="profile" role="tab" data-toggle="tab">Section 2</a></li>
                        <li role="presentation"><a href="#Section3" aria-controls="messages" role="tab" data-toggle="tab">Section 3</a></li>
                    </ul>
                    <!-- Tab panes -->
                    <div class="tab-content tabs">
                        <div role="tabpanel" class="tab-pane fade in active" id="Section1">
                            <h3>Section 1</h3>
                            <p>
                                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.
                            </p>
                        </div>
                        <div role="tabpanel" class="tab-pane fade" id="Section2">
                            <h3>Section 2</h3>
                            <p>
                                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.
                            </p>
                        </div>
                        <div role="tabpanel" class="tab-pane fade" id="Section3">
                            <h3>Section 3</h3>
                            <p>
                                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.
                            </p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div><div id="bcl"><a style="font-size:8pt;text-decoration:none;" href="http://www.devanswer.com">Free Frontend</a></div>

</body>
</html>
Preview