content logo

Bootstrap Tabs:

Simple Responsive Tabs Using Bootstrap

Many websites use tabs to organize and regular their content. This also helps to attract new visitors and interest older audiences. We have provided the Simple Responsive Tabs Using Bootstrap in this post with an attractive design. These Bootstrap Simple Tabs help the website’s owner classify all the website’s data and information. As a result, you can save the physical space of your website and even set much information in half of a page. Using the CSS Responsive Tabs Code lets you shine among all emulators.

The following preview represents a white background and gray text in the detailed part. There are four sections in this Free Bootstrap Tabs Code with black color. The titles of these parts are white, and there is a long pink line under all of them. This line continues to the end of the page. As you click on a specific section, its background changes to pink, and the title turns white. Then you can see the detailed part related to that section quickly. To increase the number of your visitors and make your website famous, use the mentioned HTML Pink Tabs and see the result. This code is so creative and beneficial.

#

Bootstrap Simple Tabs

#

Free Bootstrap Tabs Code

#

HTML Pink Tabs

#

CSS Responsive Tabs Code

<!-- This script got from frontendfreecode.com -->
<div class="container">
    <div class="row">
        <div class="col-md-offset-1 col-md-10">
            <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="settings" role="tab" data-toggle="tab">Section 4</a></li>
                </ul>

                <!-- Tab panes -->
                <div class="tab-content">
                    <div role="tabpanel" class="tab-pane active" id="Section1">
                        <h3>Web Development</h3>
                        <p>
                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed eros urna, dapibus in tellus eu, tempor pretium erat. Etiam ullamcorper lacus quis enim elementum placerat. Proin mollis id ex vel ullamcorper. Aenean
                            vulputate nisl nec.
                        </p>
                    </div>

                    <div role="tabpanel" class="tab-pane" id="Section2">
                        <h3>Brand Building</h3>
                        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus sit amet sodales mi. Nulla sollicitudin felis arcu, sed tempus lorem fermentum sit amet. Sed nec.</p>
                    </div>

                    <div role="tabpanel" class="tab-pane" id="Section3">
                        <h3>Responsive Design</h3>
                        <p>
                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed vehicula sapien ut nisi pellentesque, et scelerisque eros varius. Aenean id purus quis ante convallis faucibus. Mauris aliquam nec ipsum a hendrerit.
                            Pellentesque habitant morbi tristique senectus et netus et malesuada.
                        </p>
                    </div>

                    <div role="tabpanel" class="tab-pane" id="Section4">
                        <h3>Clean & Clear Design</h3>
                        <p>
                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed eros urna, dapibus in tellus eu, tempor pretium erat. Etiam ullamcorper lacus quis enim elementum placerat. Proin mollis id ex vel ullamcorper. Aenean
                            vulputate nisl nec.
                        </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;
}
.tab-content {
    border: 1px solid #ddd;
    padding: 12px;
    color: #7e828a;
}
.tab li a {
    border: none;
    border-right: 1px solid #394d58;
    border-radius: 0;
    background: #23323a;
    color: #fff;
    margin: 0;
    padding: 9px 15px;
}
.tab li a:hover {
    border: none;
    border-right: 1px solid #394d58;
    background: #23323a;
    color: #fff;
}
.tab li.active > a,
.tab .nav-tabs > li.active > a:focus,
.tab .nav-tabs > li.active > a:hover {
    background: #dc005a;
    color: #fff;
    border: none;
}
.tab .tab-content {
    border-top: 3px solid #dc005a;
}
<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;
}
.tab-content {
    border: 1px solid #ddd;
    padding: 12px;
    color: #7e828a;
}
.tab li a {
    border: none;
    border-right: 1px solid #394d58;
    border-radius: 0;
    background: #23323a;
    color: #fff;
    margin: 0;
    padding: 9px 15px;
}
.tab li a:hover {
    border: none;
    border-right: 1px solid #394d58;
    background: #23323a;
    color: #fff;
}
.tab li.active > a,
.tab .nav-tabs > li.active > a:focus,
.tab .nav-tabs > li.active > a:hover {
    background: #dc005a;
    color: #fff;
    border: none;
}
.tab .tab-content {
    border-top: 3px solid #dc005a;
}
</style>

</head>
<body>
<div class="container">
    <div class="row">
        <div class="col-md-offset-1 col-md-10">
            <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="settings" role="tab" data-toggle="tab">Section 4</a></li>
                </ul>

                <!-- Tab panes -->
                <div class="tab-content">
                    <div role="tabpanel" class="tab-pane active" id="Section1">
                        <h3>Web Development</h3>
                        <p>
                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed eros urna, dapibus in tellus eu, tempor pretium erat. Etiam ullamcorper lacus quis enim elementum placerat. Proin mollis id ex vel ullamcorper. Aenean
                            vulputate nisl nec.
                        </p>
                    </div>

                    <div role="tabpanel" class="tab-pane" id="Section2">
                        <h3>Brand Building</h3>
                        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus sit amet sodales mi. Nulla sollicitudin felis arcu, sed tempus lorem fermentum sit amet. Sed nec.</p>
                    </div>

                    <div role="tabpanel" class="tab-pane" id="Section3">
                        <h3>Responsive Design</h3>
                        <p>
                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed vehicula sapien ut nisi pellentesque, et scelerisque eros varius. Aenean id purus quis ante convallis faucibus. Mauris aliquam nec ipsum a hendrerit.
                            Pellentesque habitant morbi tristique senectus et netus et malesuada.
                        </p>
                    </div>

                    <div role="tabpanel" class="tab-pane" id="Section4">
                        <h3>Clean & Clear Design</h3>
                        <p>
                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed eros urna, dapibus in tellus eu, tempor pretium erat. Etiam ullamcorper lacus quis enim elementum placerat. Proin mollis id ex vel ullamcorper. Aenean
                            vulputate nisl nec.
                        </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