content logo

Bootstrap Tabs:

Animating Tabs Header using Bootstrap

The website's appearance is one of the most important elements in attracting new visitors and engaging older audiences. If you like to have a beautiful website, you should care about its design. Tabs have a significant role in a website’s appearance and make it more regular. We have provided the Animating Tabs Header using Bootstrap in this post with an attractive design. Besides their beautiful theme, these Bootstrap Animating Tabs have a functional performance. These Bootstrap Dynamic Tabs let you organize your website and classify information into different sections.

As the name of this bootstrap is prominent, you can see four sections moving smoothly, such as some clothes that wind moves them. These parts are continuously moving and represent an animating effect. As you see, these Free Bootstrap Tabs Effect are placed on a blue background, and their main theme is white. The writings of the unselected sections and the detailed part are gray. As soon as you click on a tab, it changes to orange, and the title also turns white. Then its text appears in a faded way. You can download and use these HTML Animating Tabs from the link below and increase the beauty of your website.

#

Bootstrap Animating Tabs

#

Bootstrap Dynamic Tabs

#

Free Bootstrap Tabs Effect

#

HTML Animating Tabs

<!-- This script got from frontendfreecode.com -->
<div class="container">
    <div class="row">
        <div class="col-md-offset-2 col-md-8">
            <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>
                    <li role="presentation"><a href="#Section4" aria-controls="messages" role="tab" data-toggle="tab">Section 4</a></li>
                </ul>
                <!-- Tab panes -->
                <div class="tab-content">
                    <div role="tabpanel" class="tab-pane fade in active" id="Section1">
                        <p>
                            1 - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam augue urna, dictum eu sapien vitae, ultricies dignissim leo. In vehicula sapien enim, et malesuada nunc vestibulum sed. Integer non ante a urna
                            dictum.
                        </p>
                    </div>
                    <div role="tabpanel" class="tab-pane fade" id="Section2">
                        <p>
                            2 - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam augue urna, dictum eu sapien vitae, ultricies dignissim leo. In vehicula sapien enim, et malesuada nunc vestibulum sed. Integer non ante a urna
                            dictum.
                        </p>
                    </div>
                    <div role="tabpanel" class="tab-pane fade" id="Section3">
                        <p>
                            3 - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam augue urna, dictum eu sapien vitae, ultricies dignissim leo. In vehicula sapien enim, et malesuada nunc vestibulum sed. Integer non ante a urna
                            dictum.
                        </p>
                    </div>

                    <div role="tabpanel" class="tab-pane fade" id="Section4">
                        <p>
                            4 - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam augue urna, dictum eu sapien vitae, ultricies dignissim leo. In vehicula sapien enim, et malesuada nunc vestibulum sed. Integer non ante a urna
                            dictum.
                        </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;
    background: #35b2c8;
}
.tab .nav-tabs {
    border: none;
    padding: 0 0 10px;
    position: relative;
    perspective: 17em;
}
.tab .nav-tabs li {
    transform-origin: 0 0;
    margin-right: 10px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    animation: swing 1.5s ease-in-out infinite alternate;
}
.tab .nav-tabs li:nth-child(1) {
    animation-delay: 0.9s;
}
.tab .nav-tabs li:nth-child(2) {
    animation-delay: 0.6s;
}
.tab .nav-tabs li:nth-child(3) {
    animation-delay: 0.3s;
}
.tab .nav-tabs li:nth-child(4) {
    animation-delay: 0s;
}
.tab .nav-tabs li a {
    outline: none;
    padding: 15px 30px;
    background: #fff;
    color: #808080;
    text-transform: uppercase;
    border: 1px solid transparent;
    /*transition: 0.3s;*/
}
.nav-tabs li.active a,
.nav-tabs li.active a:focus,
.nav-tabs li.active a:hover {
    background: #e77d20;
    color: #fff;
    border: 1px solid #fff;
}
.tab .tab-content {
    padding: 30px 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}
.tab .tab-content p {
    text-transform: capitalize;
    color: #808080;
    font-size: 17px;
}
@keyframes swing {
    from {
        transform: rotateX(10deg) rotateZ(0deg);
    }
    to {
        transform: rotateX(-5deg) rotateZ(0deg);
    }
}
@media only screen and (max-width: 640px) {
    .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>
body {
    margin: 20px;
    background: #35b2c8;
}
.tab .nav-tabs {
    border: none;
    padding: 0 0 10px;
    position: relative;
    perspective: 17em;
}
.tab .nav-tabs li {
    transform-origin: 0 0;
    margin-right: 10px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    animation: swing 1.5s ease-in-out infinite alternate;
}
.tab .nav-tabs li:nth-child(1) {
    animation-delay: 0.9s;
}
.tab .nav-tabs li:nth-child(2) {
    animation-delay: 0.6s;
}
.tab .nav-tabs li:nth-child(3) {
    animation-delay: 0.3s;
}
.tab .nav-tabs li:nth-child(4) {
    animation-delay: 0s;
}
.tab .nav-tabs li a {
    outline: none;
    padding: 15px 30px;
    background: #fff;
    color: #808080;
    text-transform: uppercase;
    border: 1px solid transparent;
    /*transition: 0.3s;*/
}
.nav-tabs li.active a,
.nav-tabs li.active a:focus,
.nav-tabs li.active a:hover {
    background: #e77d20;
    color: #fff;
    border: 1px solid #fff;
}
.tab .tab-content {
    padding: 30px 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}
.tab .tab-content p {
    text-transform: capitalize;
    color: #808080;
    font-size: 17px;
}
@keyframes swing {
    from {
        transform: rotateX(10deg) rotateZ(0deg);
    }
    to {
        transform: rotateX(-5deg) rotateZ(0deg);
    }
}
@media only screen and (max-width: 640px) {
    .tab .nav-tabs li {
        width: 100%;
    }
}
</style>

</head>
<body>
<div class="container">
    <div class="row">
        <div class="col-md-offset-2 col-md-8">
            <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>
                    <li role="presentation"><a href="#Section4" aria-controls="messages" role="tab" data-toggle="tab">Section 4</a></li>
                </ul>
                <!-- Tab panes -->
                <div class="tab-content">
                    <div role="tabpanel" class="tab-pane fade in active" id="Section1">
                        <p>
                            1 - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam augue urna, dictum eu sapien vitae, ultricies dignissim leo. In vehicula sapien enim, et malesuada nunc vestibulum sed. Integer non ante a urna
                            dictum.
                        </p>
                    </div>
                    <div role="tabpanel" class="tab-pane fade" id="Section2">
                        <p>
                            2 - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam augue urna, dictum eu sapien vitae, ultricies dignissim leo. In vehicula sapien enim, et malesuada nunc vestibulum sed. Integer non ante a urna
                            dictum.
                        </p>
                    </div>
                    <div role="tabpanel" class="tab-pane fade" id="Section3">
                        <p>
                            3 - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam augue urna, dictum eu sapien vitae, ultricies dignissim leo. In vehicula sapien enim, et malesuada nunc vestibulum sed. Integer non ante a urna
                            dictum.
                        </p>
                    </div>

                    <div role="tabpanel" class="tab-pane fade" id="Section4">
                        <p>
                            4 - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam augue urna, dictum eu sapien vitae, ultricies dignissim leo. In vehicula sapien enim, et malesuada nunc vestibulum sed. Integer non ante a urna
                            dictum.
                        </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>
</html>
Preview