content logo

Bootstrap Tabs:

Bootstrap Tabs with Moving Rectangle Effect

If you can use a beautiful effect for the design of your website, you will be able to attract many new visitors to your website and even maybe introduce you to others. We have prepared a functional code that is designed for bootstrap tabs. You can use the Bootstrap Tabs with Moving Rectangle Effect with the best proficiency. These Bootstrap Tabs are used for classifying the information of your website and attracting more audience to yourself. As you can see in this post, the font of these Beautiful CSS Tabs is so unique and a bit funny. Moreover, the background of this code is like a hachure that is vertical.

the color of the writings is black, but as soon as you move your mouse on a part or click on it, you can see a beautiful animation effect while moving from up to down and when you change the position of the mouse, the Blue Tabs Effect replace from down to up. These Animating Tabs are blue and you can see a blue line on the top of the detail part. You can use these CSS Moving Tabs for your website and make a difference between yours and others.

#

Bootstrap Tabs

#

CSS Moving Tabs

#

Blue Tabs Effect

#

Animating Tabs

#

Beautiful CSS 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">
                        <h3>Section 1</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="Section2">
                        <h3>Section ( 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">
                        <h3>Section 3</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>
            </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 {
    background: linear-gradient(-110deg, #f9f9f9 50%, #fff 50%);
    background-size: 10px 10px;
    font-family: "Kufam", cursive;
    box-shadow: 7px 7px 5px rgba(9, 132, 227, 0.1);
}
.tab .nav-tabs {
    background-color: transparent;
    border: none;
}
.tab .nav-tabs li a {
    color: #555;
    background: transparent;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    padding: 13px 15px 7px;
    margin: 0 0 1px 0;
    border: none;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: all 0.5s ease 0s;
}
.tab .nav-tabs li:last-child a {
    margin-right: 0;
}
.tab .nav-tabs li a:hover,
.tab .nav-tabs li.active a {
    color: #0984e3;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) inset;
    border: none;
}
.tab .nav-tabs li a:before {
    content: "";
    background: #0984e3;
    height: 100%;
    width: 100%;
    position: absolute;
    top: -100%;
    left: 0;
    z-index: -1;
    transition: all 0.5s cubic-bezier(0.1, 0.7, 1, 0.1);
}
.tab .nav-tabs li.active a:before,
.tab .nav-tabs li a:hover:before {
    top: 100%;
}
.tab .tab-content {
    color: #777;
    background: transparent;
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 23px;
    padding: 20px;
    border-top: 6px solid #0984e3;
    box-shadow: 0 0 20px -2px rgba(0, 0, 0, 0.01);
}
.tab .tab-content h3 {
    color: #666;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 7px 0;
}
@media only screen and (max-width: 479px) {
    .tab .nav-tabs li {
        width: 100%;
    }
    .tab .tab-content h3 {
        font-size: 18px;
    }
}
<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 {
    background: linear-gradient(-110deg, #f9f9f9 50%, #fff 50%);
    background-size: 10px 10px;
    font-family: "Kufam", cursive;
    box-shadow: 7px 7px 5px rgba(9, 132, 227, 0.1);
}
.tab .nav-tabs {
    background-color: transparent;
    border: none;
}
.tab .nav-tabs li a {
    color: #555;
    background: transparent;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    padding: 13px 15px 7px;
    margin: 0 0 1px 0;
    border: none;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: all 0.5s ease 0s;
}
.tab .nav-tabs li:last-child a {
    margin-right: 0;
}
.tab .nav-tabs li a:hover,
.tab .nav-tabs li.active a {
    color: #0984e3;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) inset;
    border: none;
}
.tab .nav-tabs li a:before {
    content: "";
    background: #0984e3;
    height: 100%;
    width: 100%;
    position: absolute;
    top: -100%;
    left: 0;
    z-index: -1;
    transition: all 0.5s cubic-bezier(0.1, 0.7, 1, 0.1);
}
.tab .nav-tabs li.active a:before,
.tab .nav-tabs li a:hover:before {
    top: 100%;
}
.tab .tab-content {
    color: #777;
    background: transparent;
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 23px;
    padding: 20px;
    border-top: 6px solid #0984e3;
    box-shadow: 0 0 20px -2px rgba(0, 0, 0, 0.01);
}
.tab .tab-content h3 {
    color: #666;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 7px 0;
}
@media only screen and (max-width: 479px) {
    .tab .nav-tabs li {
        width: 100%;
    }
    .tab .tab-content h3 {
        font-size: 18px;
    }
}
</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">
                        <h3>Section 1</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="Section2">
                        <h3>Section ( 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">
                        <h3>Section 3</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>
            </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