content logo

Bootstrap Tabs:

Bootstrap Brown Tabs with Inner Border

As you know, tabs are so important in any website, and if you have one, it is better to use them. The design of these critical factors is also determinant in attracting visitors. The Bootstrap Brown Tabs with Inner Border has the best design and performance at the same time. These Rectangle Tabs include three parts and allow you to classify the information and data of your website into three or more sections. Looking at the mentioned preview shows you the uniqueness of these Bootstrap Brown Tabs.

These sections have an icon next to each title in white color, as you see here. The background of these Bootstrap Tabs with Icons is brown and it makes a beautiful harmony. Moreover, each tab has a white border. But these are the characteristics of the selected part. At the same time, the unselected section has a black background. As you click on a tab, a triangle appears at the bottom of that section. Additionally, there are two lines up and bottom of the detailed part. These lines are presented in brown color. Using these Tabs with Inner Border is a great idea, and you can attract many audiences through them.

#

Bootstrap Brown Tabs

#

Tabs with Inner Border

#

Rectangle Tabs

#

Bootstrap Tabs with Icons

<!-- 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"><i class="fa fa-envelope-o"></i>Section 1</a>
                    </li>
                    <li role="presentation">
                        <a href="#Section2" aria-controls="profile" role="tab" data-toggle="tab"><i class="fa fa-cube"></i>Section 2</a>
                    </li>
                    <li role="presentation">
                        <a href="#Section3" aria-controls="settings" role="tab" data-toggle="tab"><i class="fa fa-comment"></i>Section 3</a>
                    </li>
                </ul>
                <!-- Tab panes -->
                <div class="tab-content">
                    <div role="tabpanel" class="tab-pane fade in active" id="Section1">
                        <h3>Section 1</h3>
                        <p>
                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium, metus et scelerisque dignissim, ligula est imperdiet nisl, sit amet malesuada nunc felis in nisi. Nullam dapibus ligula dui, in rhoncus
                            purus euismod nec. Duis in lacinia neque. Etiam tellus.
                        </p>
                    </div>

                    <div role="tabpanel" class="tab-pane fade" id="Section2">
                        <h3>Section 2</h3>
                        <p>
                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium, metus et scelerisque dignissim, ligula est imperdiet nisl, sit amet malesuada nunc felis in nisi. Nullam dapibus ligula dui, in rhoncus
                            purus euismod nec. Duis in lacinia neque. Etiam tellus.
                        </p>
                    </div>

                    <div role="tabpanel" class="tab-pane fade" id="Section3">
                        <h3>Section 3</h3>
                        <p>
                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium, metus et scelerisque dignissim, ligula est imperdiet nisl, sit amet malesuada nunc felis in nisi. Nullam dapibus ligula dui, in rhoncus
                            purus euismod nec. Duis in lacinia neque. Etiam tellus.
                        </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 .nav-tabs {
    border-bottom: 0 none;
}
.tab .nav-tabs li {
    margin-right: 2px;
    position: relative;
}
.tab .nav-tabs li a {
    border: none;
    padding: 18px 25px;
    color: #fff;
    background: #272e38;
    border-radius: 0;
}
.tab .nav-tabs li a i {
    font-size: 14px;
    margin-right: 10px;
}
.tab .nav-tabs li.active a,
.tab .nav-tabs li.active a:focus,
.tab .nav-tabs li.active a:hover {
    border: none;
    background: #ae7e47;
    color: #fff;
    transition: background 0.2s linear;
}
.tab .nav-tabs li.active:after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 37%;
    border: 15px solid transparent;
    border-bottom-color: #ae7e47;
}
.tab .nav-tabs li.active a:after {
    content: "";
    position: absolute;
    top: 5px;
    left: 4%;
    width: 92%;
    height: 82%;
    border: 3px solid #fff;
    display: block;
}
.tab .tab-content {
    background: #fdfdfd;
    line-height: 25px;
    padding: 20px 25px;
    margin-top: 15px;
    border: 1px solid #ddd;
    border-top: 5px solid #ae7e47;
    border-bottom: 5px solid #ae7e47;
}
@media only screen and (max-width: 480px) {
    .tab .nav-tabs li {
        width: 100%;
        margin-bottom: 5px;
    }
    .tab .nav-tabs li a {
        padding: 20px;
    }
    .tab .nav-tabs li.active:after {
        border: none;
    }
    .tab .nav-tabs li.active a:after {
        width: 97%;
        left: 1.5%;
    }
    .tab .tab-content {
        margin-top: 5px;
    }
}
<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;
}
.tab .nav-tabs {
    border-bottom: 0 none;
}
.tab .nav-tabs li {
    margin-right: 2px;
    position: relative;
}
.tab .nav-tabs li a {
    border: none;
    padding: 18px 25px;
    color: #fff;
    background: #272e38;
    border-radius: 0;
}
.tab .nav-tabs li a i {
    font-size: 14px;
    margin-right: 10px;
}
.tab .nav-tabs li.active a,
.tab .nav-tabs li.active a:focus,
.tab .nav-tabs li.active a:hover {
    border: none;
    background: #ae7e47;
    color: #fff;
    transition: background 0.2s linear;
}
.tab .nav-tabs li.active:after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 37%;
    border: 15px solid transparent;
    border-bottom-color: #ae7e47;
}
.tab .nav-tabs li.active a:after {
    content: "";
    position: absolute;
    top: 5px;
    left: 4%;
    width: 92%;
    height: 82%;
    border: 3px solid #fff;
    display: block;
}
.tab .tab-content {
    background: #fdfdfd;
    line-height: 25px;
    padding: 20px 25px;
    margin-top: 15px;
    border: 1px solid #ddd;
    border-top: 5px solid #ae7e47;
    border-bottom: 5px solid #ae7e47;
}
@media only screen and (max-width: 480px) {
    .tab .nav-tabs li {
        width: 100%;
        margin-bottom: 5px;
    }
    .tab .nav-tabs li a {
        padding: 20px;
    }
    .tab .nav-tabs li.active:after {
        border: none;
    }
    .tab .nav-tabs li.active a:after {
        width: 97%;
        left: 1.5%;
    }
    .tab .tab-content {
        margin-top: 5px;
    }
}
</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"><i class="fa fa-envelope-o"></i>Section 1</a>
                    </li>
                    <li role="presentation">
                        <a href="#Section2" aria-controls="profile" role="tab" data-toggle="tab"><i class="fa fa-cube"></i>Section 2</a>
                    </li>
                    <li role="presentation">
                        <a href="#Section3" aria-controls="settings" role="tab" data-toggle="tab"><i class="fa fa-comment"></i>Section 3</a>
                    </li>
                </ul>
                <!-- Tab panes -->
                <div class="tab-content">
                    <div role="tabpanel" class="tab-pane fade in active" id="Section1">
                        <h3>Section 1</h3>
                        <p>
                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium, metus et scelerisque dignissim, ligula est imperdiet nisl, sit amet malesuada nunc felis in nisi. Nullam dapibus ligula dui, in rhoncus
                            purus euismod nec. Duis in lacinia neque. Etiam tellus.
                        </p>
                    </div>

                    <div role="tabpanel" class="tab-pane fade" id="Section2">
                        <h3>Section 2</h3>
                        <p>
                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium, metus et scelerisque dignissim, ligula est imperdiet nisl, sit amet malesuada nunc felis in nisi. Nullam dapibus ligula dui, in rhoncus
                            purus euismod nec. Duis in lacinia neque. Etiam tellus.
                        </p>
                    </div>

                    <div role="tabpanel" class="tab-pane fade" id="Section3">
                        <h3>Section 3</h3>
                        <p>
                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium, metus et scelerisque dignissim, ligula est imperdiet nisl, sit amet malesuada nunc felis in nisi. Nullam dapibus ligula dui, in rhoncus
                            purus euismod nec. Duis in lacinia neque. Etiam tellus.
                        </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