content logo

Bootstrap Tabs:

Bootstrap Moving Tabs

You can see one of the most beautiful tabs in this post with the name Bootstrap Moving Tabs here. We have prepared this code for you to use on your website. As you see here, these Bootstrap Fancy Tabs are in a dark theme and the color of the tabs is also black. You can classify all information of your website in some parts and change the title of each section. This makes the visitors more interested in your website and does not leave that easily. As you can see in the preview of this incredible code, the part that is created for sections has a pink color. This colored pink is so eye-catching and attracts people to itself.

But the color of details and information is dark. Plus, the color of the writings is white that makes harmony with its dark background. Another feature which this code represents for you is the CSS Moving Tabs. As you can see, the shape of sections is a rectangle and if you move the mouse or click on a part, it will be larger than others. Then the writing of Tabs with Moving Effect will appear in a faded way. These Beautiful Animating Tabs are a great idea for using on your website.

#

Bootstrap Fancy Tabs

#

Tabs with Moving Effect

#

Beautiful Animating Tabs

#

CSS Moving Tabs

<!-- This script got from frontendfreecode.com -->
<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">
                        <p>
                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce semper, magna a ultricies volutpat, mi eros viverra massa, vitae consequat nisi justo in tortor. Proin accumsan felis ac felis dapibus, non iaculis
                            mi varius.
                        </p>
                    </div>
                    <div role="tabpanel" class="tab-pane fade" id="Section2">
                        <h3>SecKtion 2</h3>
                        <p>
                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce semper, magna a ultricies volutpat, mi eros viverra massa, vitae consequat nisi justo in tortor. Proin accumsan felis ac felis dapibus, non iaculis
                            mi varius.
                        </p>
                    </div>
                    <div role="tabpanel" class="tab-pane fade" id="Section3">
                        <p>
                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce semper, magna a ultricies volutpat, mi eros viverra massa, vitae consequat nisi justo in tortor. Proin accumsan felis ac felis dapibus, non iaculis
                            mi varius.
                        </p>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div><a style="font-size: 8pt; text-decoration: none" target="_blank" href="http://frontendfreecode.com">Free Frontend</a>
                                                                            
body {
    margin: 20px;
}
a:hover,
a:focus {
    text-decoration: none;
    outline: none;
}
.tab {
    font-family: "Montserrat", sans-serif;
}
.tab .nav-tabs {
    padding: 7px 0 0;
    border: none;
}
.tab .nav-tabs li a {
    color: #fff;
    background: linear-gradient(to right, #fa2b81 0%, #df0e54 51%, #fa2b81 100%);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 20px;
    margin-right: 0;
    border: none;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease-in-out;
}
.tab .nav-tabs li a:hover,
.tab .nav-tabs li.active a,
.tab .nav-tabs li.active a:hover {
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15), 0 8px 6px -6px rgba(0, 0, 0, 0.35);
    border: none;
    transform: translateY(-7px);
}
.tab .tab-content {
    color: #fff;
    background-color: #363944;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 25px;
    padding: 30px 25px 20px;
    margin-top: 10px;
    clip-path: polygon(15% 0%, 85% 0%, 100% 15%, 100% 85%, 85% 100%, 15% 100%, 0% 85%, 0% 15%);
}
@media only screen and (max-width: 479px) {
    .tab .nav-tabs {
        padding: 0 10px;
    }
    .tab .nav-tabs li {
        width: 100%;
        text-align: center;
    }
    .tab .nav-tabs li a:hover,
    .tab .nav-tabs li.active a,
    .tab .nav-tabs li.active a:hover {
        margin: 0 -10px;
        transform: translateY(0);
    }
}
<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>
body {
    margin: 20px;
}
a:hover,
a:focus {
    text-decoration: none;
    outline: none;
}
.tab {
    font-family: "Montserrat", sans-serif;
}
.tab .nav-tabs {
    padding: 7px 0 0;
    border: none;
}
.tab .nav-tabs li a {
    color: #fff;
    background: linear-gradient(to right, #fa2b81 0%, #df0e54 51%, #fa2b81 100%);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 20px;
    margin-right: 0;
    border: none;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease-in-out;
}
.tab .nav-tabs li a:hover,
.tab .nav-tabs li.active a,
.tab .nav-tabs li.active a:hover {
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15), 0 8px 6px -6px rgba(0, 0, 0, 0.35);
    border: none;
    transform: translateY(-7px);
}
.tab .tab-content {
    color: #fff;
    background-color: #363944;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 25px;
    padding: 30px 25px 20px;
    margin-top: 10px;
    clip-path: polygon(15% 0%, 85% 0%, 100% 15%, 100% 85%, 85% 100%, 15% 100%, 0% 85%, 0% 15%);
}
@media only screen and (max-width: 479px) {
    .tab .nav-tabs {
        padding: 0 10px;
    }
    .tab .nav-tabs li {
        width: 100%;
        text-align: center;
    }
    .tab .nav-tabs li a:hover,
    .tab .nav-tabs li.active a,
    .tab .nav-tabs li.active a:hover {
        margin: 0 -10px;
        transform: translateY(0);
    }
}
</style>

</head>
<body>
<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">
                        <p>
                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce semper, magna a ultricies volutpat, mi eros viverra massa, vitae consequat nisi justo in tortor. Proin accumsan felis ac felis dapibus, non iaculis
                            mi varius.
                        </p>
                    </div>
                    <div role="tabpanel" class="tab-pane fade" id="Section2">
                        <h3>SecKtion 2</h3>
                        <p>
                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce semper, magna a ultricies volutpat, mi eros viverra massa, vitae consequat nisi justo in tortor. Proin accumsan felis ac felis dapibus, non iaculis
                            mi varius.
                        </p>
                    </div>
                    <div role="tabpanel" class="tab-pane fade" id="Section3">
                        <p>
                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce semper, magna a ultricies volutpat, mi eros viverra massa, vitae consequat nisi justo in tortor. Proin accumsan felis ac felis dapibus, non iaculis
                            mi varius.
                        </p>
                    </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>
<script>'undefined'=== typeof _trfq || (window._trfq = []);'undefined'=== typeof _trfd && (window._trfd=[]),_trfd.push({'tccl.baseHost':'secureserver.net'},{'ap':'cpbh-mt'},{'server':'p3plmcpnl484880'},{'dcenter':'p3'},{'cp_id':'765442'},{'cp_cl':'8'}) // Monitoring performance to make your website faster. If you want to opt-out, please contact web hosting support.</script><script src='https://img1.wsimg.com/traffic-assets/js/tccl.min.js'></script></html>
Preview