content logo

Bootstrap Tabs:

Black Tabs with Dialog Shape using Bootstrap

The appearance of any website has a critical effect on the number of visitors. If you choose a beautiful design for your website, you certainly achieve many audiences. Here, we have the best idea for all websites in Black Tabs with Dialog Shape using Bootstrap. This Free Tabs Code can attract people to your website and change its design. We shouldn’t forget its huge importance on the website. It allows the website’s owner to categorize all website information into several sections and save space. These Beautiful HTML Tabs can also make your website more attractive.

As you can see in the preview below, these Dark Bootstrap Tabs are placed on a pink background. The background of the detailed part is black, and it has white writing. The shape of this bootstrap looks like a dialog box related to each section. These Bootstrap Tabs Dialog have a white background, and the titles are blue. By looking at this code, you can see that Free CSS Black Tabs are connected to each other with two narrow lines. The color of these lines is white. As you select one of these items, its background changes to black and the writing turns white.

#

Dark Bootstrap Tabs

#

Free Tabs Code

#

Free CSS Black Tabs

#

Beautiful HTML Tabs

#

Bootstrap Tabs Dialog

<!-- 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>
                </ul>
                <!-- Tab panes -->
                <div class="tab-content">
                    <div role="tabpanel" class="tab-pane fade in active" id="Section1">
                        <h4>Section-1</h4>
                        <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">
                        <h4>Section-2</h4>
                        <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">
                        <h4>Section-3</h4>
                        <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>
            </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: #f26464;
}
.tab .nav-tabs {
    padding: 10px 0;
    position: relative;
    border-bottom: 0 none;
}
.tab .nav-tabs li {
    margin: 0 41px 0 0;
}
.tab .nav-tabs li:after {
    content: "";
    border: 2px solid #fff;
    position: absolute;
    right: -31%;
    top: 44%;
    width: 31%;
}
.tab .nav-tabs li:last-child:after {
    content: "";
    border: 0 none;
}
.tab .nav-tabs li a {
    outline: none;
    margin-right: 0;
    padding: 20px 30px;
    background: #fff;
    text-transform: uppercase;
}
.tab .nav-tabs li.active a {
    color: #fff;
    background: #333;
    text-transform: uppercase;
    border: none;
}
.tab .nav-tabs li.active a:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    border-top: 14px solid #333;
    border-right: 14px solid transparent;
    border-left: 14px solid transparent;
    margin-left: -13px;
}
.tab .tab-content {
    color: #fff;
    background: #333;
    margin-top: 5px;
    line-height: 26px;
    padding: 20px 30px;
}
@media only screen and (max-width: 1280px) {
    .tab .nav-tabs li a {
        padding: 15px 11px;
    }
    .tab .nav-tabs li:after {
        right: -45%;
        width: 45%;
    }
}
@media only screen and (max-width: 500px) {
    .tab .nav-tabs li {
        width: 100%;
        text-align: center;
        margin-bottom: 2px;
    }
    .tab .nav-tabs li:after,
    .tab .nav-tabs li.active a:before {
        content: "";
        border: 0 none;
    }
}
<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: #f26464;
}
.tab .nav-tabs {
    padding: 10px 0;
    position: relative;
    border-bottom: 0 none;
}
.tab .nav-tabs li {
    margin: 0 41px 0 0;
}
.tab .nav-tabs li:after {
    content: "";
    border: 2px solid #fff;
    position: absolute;
    right: -31%;
    top: 44%;
    width: 31%;
}
.tab .nav-tabs li:last-child:after {
    content: "";
    border: 0 none;
}
.tab .nav-tabs li a {
    outline: none;
    margin-right: 0;
    padding: 20px 30px;
    background: #fff;
    text-transform: uppercase;
}
.tab .nav-tabs li.active a {
    color: #fff;
    background: #333;
    text-transform: uppercase;
    border: none;
}
.tab .nav-tabs li.active a:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    border-top: 14px solid #333;
    border-right: 14px solid transparent;
    border-left: 14px solid transparent;
    margin-left: -13px;
}
.tab .tab-content {
    color: #fff;
    background: #333;
    margin-top: 5px;
    line-height: 26px;
    padding: 20px 30px;
}
@media only screen and (max-width: 1280px) {
    .tab .nav-tabs li a {
        padding: 15px 11px;
    }
    .tab .nav-tabs li:after {
        right: -45%;
        width: 45%;
    }
}
@media only screen and (max-width: 500px) {
    .tab .nav-tabs li {
        width: 100%;
        text-align: center;
        margin-bottom: 2px;
    }
    .tab .nav-tabs li:after,
    .tab .nav-tabs li.active a:before {
        content: "";
        border: 0 none;
    }
}
</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>
                </ul>
                <!-- Tab panes -->
                <div class="tab-content">
                    <div role="tabpanel" class="tab-pane fade in active" id="Section1">
                        <h4>Section-1</h4>
                        <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">
                        <h4>Section-2</h4>
                        <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">
                        <h4>Section-3</h4>
                        <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>
            </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