content logo

Bootstrap Tabs:

Simple Bootstrap Tabs with Circular Hover Effect

Classification is one of the most important elements in designing a website and attracting visitors. In this post, we have provided an excellent code that has many features for you. This Simple Bootstrap Tabs with Circular Hover Effect has a crucial impact on attracting new audiences. As you can see here, three parts of Simple Bootstrap Tabs have a simple design. You can change the name of these three sections based on your desire. As you see, at first, the color of writings is black or grey; while there is a white background for them.

This design that we mentioned above, is just until you do not select them. As you move the mouse on them or select one section, you can see a beautiful hover effect that is appeared in a circular way. This Circlur Hover Effect is blue and after you click, you can see a line under each selected part. These Tabs with Hover Effect have a blue line under them that appears from left to right after clicking each part. After you click on a specific part, you can see that the color of Bootstrap Tabs with Effect will be blue that is so attractive and eye-catching.

#

Circlur Hover Effect

#

Simple Bootstrap Tabs

#

Bootstrap Tabs with Effect

#

Tabs with Hover Effect

<!-- 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">
                        <p>
                        <h3>Section 3</h3>
                            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 {
    border: none;
}
.tab .nav-tabs li a {
    color: #999b9d;
    background: #f7f7f7;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 14px 30px 11px;
    margin: 0 0 1px 0;
    border: none;
    border-radius: 0;
    position: relative;
    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: #6d7ae0;
    background-color: #f7f7f7;
    border: none;
}
.tab .nav-tabs li a:before,
.tab .nav-tabs li a:after {
    content: "";
    background-color: #6d7ae0;
    height: 3px;
    width: 0;
    position: absolute;
    left: 0;
    bottom: -3px;
    transition: all 0.3s ease 0s;
}
.tab .nav-tabs li a:after {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    transform: translateX(-50%) scale(0);
    transform-origin: bottom center;
    left: 50%;
    bottom: 0;
}
.tab .nav-tabs li.active a:before,
.tab .nav-tabs li a:hover:before {
    width: 100%;
}
.tab .nav-tabs li.active a:after,
.tab .nav-tabs li a:hover:after {
    opacity: 0;
    transform: translateX(-50%) scale(1);
}
.tab .tab-content {
    color: #999;
    background-color: #fff;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 25px;
    padding: 30px 25px 20px;
    border: 3px solid #e1e1e1;
}
@media only screen and (max-width: 479px) {
    .tab .nav-tabs li {
        width: 100%;
        text-align: center;
    }
    .tab .nav-tabs li a:before {
        bottom: 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 {
    border: none;
}
.tab .nav-tabs li a {
    color: #999b9d;
    background: #f7f7f7;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 14px 30px 11px;
    margin: 0 0 1px 0;
    border: none;
    border-radius: 0;
    position: relative;
    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: #6d7ae0;
    background-color: #f7f7f7;
    border: none;
}
.tab .nav-tabs li a:before,
.tab .nav-tabs li a:after {
    content: "";
    background-color: #6d7ae0;
    height: 3px;
    width: 0;
    position: absolute;
    left: 0;
    bottom: -3px;
    transition: all 0.3s ease 0s;
}
.tab .nav-tabs li a:after {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    transform: translateX(-50%) scale(0);
    transform-origin: bottom center;
    left: 50%;
    bottom: 0;
}
.tab .nav-tabs li.active a:before,
.tab .nav-tabs li a:hover:before {
    width: 100%;
}
.tab .nav-tabs li.active a:after,
.tab .nav-tabs li a:hover:after {
    opacity: 0;
    transform: translateX(-50%) scale(1);
}
.tab .tab-content {
    color: #999;
    background-color: #fff;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 25px;
    padding: 30px 25px 20px;
    border: 3px solid #e1e1e1;
}
@media only screen and (max-width: 479px) {
    .tab .nav-tabs li {
        width: 100%;
        text-align: center;
    }
    .tab .nav-tabs li a:before {
        bottom: 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">
                        <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">
                        <p>
                        <h3>Section 3</h3>
                            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