content logo

Bootstrap Tabs:

Bootstrap Fancy Tabs with Icons

Tabs have a crucial role in different websites and attract many visitors and audiences. By using these functional elements, you can change the appearance of your website and regulate the information quickly. In this post, we have provided a code that contains the Bootstrap Fancy Tabs with Icons with an attractive design. These Simple Tabs with Icons help you organize all your website’s data into different sections. This also allows visitors not to be confused. These Beautiful Stylish Tabs have an essential difference from others.

As you can see here, there is no title for the sections in this code. Almost all tabs have a title for each part, but this one doesn’t have and uses icons instead. As the name is obvious, this tab has icons in a circle shape that is connected to the text with a rectangle. As you can see in these CSS Tabs with Icons, the unselected sections are gray. Each part has a meaning, and the icons represent their concept. As you place the cursor of the mouse or click on a section, the color of the icon will change. You can use these Bootstrap Gray Tabs to order the information of your website and attract visitors at the same time. 

#

Bootstrap Gray Tabs

#

CSS Tabs with Icons

#

Beautiful Stylish Tabs

#

Simple Tabs with Icons

<!-- 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"><i class="fa fa-home"></i></a>
                    </li>
                    <li role="presentation">
                        <a href="#Section2" aria-controls="profile" role="tab" data-toggle="tab"><i class="fa fa-envelope"></i></a>
                    </li>
                    <li role="presentation">
                        <a href="#Section3" aria-controls="messages" role="tab" data-toggle="tab"><i class="fa fa-comment"></i></a>
                    </li>
                    <li role="presentation">
                        <a href="#Section4" aria-controls="about" role="tab" data-toggle="tab"><i class="fa fa-cube"></i></a>
                    </li>
                    <li role="presentation">
                        <a href="#Section5" aria-controls="contact" role="tab" data-toggle="tab"><i class="fa fa-briefcase"></i></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 role="tabpanel" class="tab-pane fade" id="Section4">
                        <h3>Section 4</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="Section5">
                        <h3>Section 5</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><a style="font-size: 8pt; text-decoration: none" target="_blank" href="http://frontendfreecode.com">Free Frontend</a>
                                                                            
body {
    margin: 20px;
}
a:hover,
a:focus {
    outline: none;
    text-decoration: none;
}
.tab .nav-tabs {
    position: relative;
    border-bottom: 0 none;
}
.tab .nav-tabs li {
    text-align: center;
}
.tab .nav-tabs li a {
    width: 52px;
    border-radius: 25px 25px 0 0;
    padding: 6px 6px 35px 6px;
    background: #ccc;
    text-align: center;
    margin-right: 5px;
    border: none;
    position: relative;
    transition: all 0.5s ease 0s;
}
.tab .nav-tabs li.active a,
.tab .nav-tabs li a:hover {
    border: none;
    background: #928584;
}
.tab .nav-tabs li a i {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: #fff;
    font-size: 18px;
    font-weight: 600;
    color: #908a78;
    transition: all 0.5s ease 0s;
}
.tab .nav-tabs li a:hover i,
.tab .nav-tabs li.active a i {
    color: #fff;
}
.tab .nav-tabs li:nth-child(1) a:hover i,
.tab .nav-tabs li:nth-child(1).active a i {
    background: #f56336;
}
.tab .nav-tabs li:nth-child(2) a:hover i,
.tab .nav-tabs li:nth-child(2).active a i {
    background: #33ccff;
}
.tab .nav-tabs li:nth-child(3) a:hover i,
.tab .nav-tabs li:nth-child(3).active a i {
    background: #dd4d3a;
}
.tab .nav-tabs li:nth-child(4) a:hover i,
.tab .nav-tabs li:nth-child(4).active a i {
    background: #0d78a9;
}
.tab .nav-tabs li:nth-child(5) a:hover i,
.tab .nav-tabs li:nth-child(5).active a i {
    background: #8661e8;
}
.tab .tab-content {
    font-size: 14px;
    color: #fff;
    line-height: 26px;
    background: #928584;
    padding: 20px;
}
.tab .tab-content h3 {
    font-size: 24px;
    color: #fff;
    margin-top: 0;
}
.tab .tab-content p {
    margin-bottom: 0;
}
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.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">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.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 {
    outline: none;
    text-decoration: none;
}
.tab .nav-tabs {
    position: relative;
    border-bottom: 0 none;
}
.tab .nav-tabs li {
    text-align: center;
}
.tab .nav-tabs li a {
    width: 52px;
    border-radius: 25px 25px 0 0;
    padding: 6px 6px 35px 6px;
    background: #ccc;
    text-align: center;
    margin-right: 5px;
    border: none;
    position: relative;
    transition: all 0.5s ease 0s;
}
.tab .nav-tabs li.active a,
.tab .nav-tabs li a:hover {
    border: none;
    background: #928584;
}
.tab .nav-tabs li a i {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: #fff;
    font-size: 18px;
    font-weight: 600;
    color: #908a78;
    transition: all 0.5s ease 0s;
}
.tab .nav-tabs li a:hover i,
.tab .nav-tabs li.active a i {
    color: #fff;
}
.tab .nav-tabs li:nth-child(1) a:hover i,
.tab .nav-tabs li:nth-child(1).active a i {
    background: #f56336;
}
.tab .nav-tabs li:nth-child(2) a:hover i,
.tab .nav-tabs li:nth-child(2).active a i {
    background: #33ccff;
}
.tab .nav-tabs li:nth-child(3) a:hover i,
.tab .nav-tabs li:nth-child(3).active a i {
    background: #dd4d3a;
}
.tab .nav-tabs li:nth-child(4) a:hover i,
.tab .nav-tabs li:nth-child(4).active a i {
    background: #0d78a9;
}
.tab .nav-tabs li:nth-child(5) a:hover i,
.tab .nav-tabs li:nth-child(5).active a i {
    background: #8661e8;
}
.tab .tab-content {
    font-size: 14px;
    color: #fff;
    line-height: 26px;
    background: #928584;
    padding: 20px;
}
.tab .tab-content h3 {
    font-size: 24px;
    color: #fff;
    margin-top: 0;
}
.tab .tab-content p {
    margin-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"><i class="fa fa-home"></i></a>
                    </li>
                    <li role="presentation">
                        <a href="#Section2" aria-controls="profile" role="tab" data-toggle="tab"><i class="fa fa-envelope"></i></a>
                    </li>
                    <li role="presentation">
                        <a href="#Section3" aria-controls="messages" role="tab" data-toggle="tab"><i class="fa fa-comment"></i></a>
                    </li>
                    <li role="presentation">
                        <a href="#Section4" aria-controls="about" role="tab" data-toggle="tab"><i class="fa fa-cube"></i></a>
                    </li>
                    <li role="presentation">
                        <a href="#Section5" aria-controls="contact" role="tab" data-toggle="tab"><i class="fa fa-briefcase"></i></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 role="tabpanel" class="tab-pane fade" id="Section4">
                        <h3>Section 4</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="Section5">
                        <h3>Section 5</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 id="bcl"><a style="font-size:8pt;text-decoration:none;" href="http://www.devanswer.com">Free Frontend</a></div>

</body>
</html>
Preview