content logo

Bootstrap Tabs:

Bootstrap Tabs with Orange Fancy Line

The color of the tabs that you use on your website is so important; because people attract to something that has a good sense and a nice feeling. Here we have the most beautiful bootstrap tab with a pretty orange line. This orange line can make different the clicked tab from other tabs. As we said, these Bootstrap Tabs can attract many audiences to your website. By every clicking on each tab, the Orange Line Tab will appear. This means that we are looking at which tab and we would not lose that.

This Beautiful Tab can show many elements in different subjects. At first, when you did not click, these tabs are grey and after clicking on each one, they will be bold with a remarkable orange line at the top of the clicked tab. Tab with Icons lets you change their title and you can use another name to show them on the page. Plus, you can use a specific icon for each one. By using these beautiful toggle Tabs, you can place many topics and sentences in a small space. So do not waste your time and download this bellow code and make your website beautiful and easy to use.

#

Bootstrap Tabs

#

Orange Line Tab

#

Beautiful Tab

#

Tab with Icons

#

Togglable Tabs

<!-- This script got from frontendfreecode.com -->
<h1 class="center">Tabs</h1>
<main>
    <input id="tab1" type="radio" name="tabs" checked />
    <label for="tab1">Tab1</label>
    <input id="tab2" type="radio" name="tabs" />
    <label for="tab2">Tab2</label>
    <input id="tab3" type="radio" name="tabs" />
    <label for="tab3">Reports</label>
    <input id="tab4" type="radio" name="tabs" />
    <label for="tab4">Tab4</label>
    <section id="content1">
        <p>
            Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
        </p>
    </section>
    <section id="content2">
        <p>
            Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
        </p>
    </section>
    <section id="content3">
        <p>
            Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
        </p>
    </section>
    <section id="content4">
        <p>
            Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
        </p>
    </section>
</main><a style="font-size: 8pt; text-decoration: none" target="_blank" href="http://frontendfreecode.com">Free Frontend</a>
                                                                            
body {
    font: 14px/1 "Open Sans", sans-serif;
    color: #555;
    background: #eee;
}
main {
    min-width: 320px;
    max-width: 1100px;
    padding: 20px;
    margin: 0 auto;
    background: #fff;
}
section {
    display: none;
    padding: 20px 0 0;
    border-top: 1px solid #ddd;
}

input {
    display: none;
}
label {
    display: inline-block;
    margin: 0 0 -1px;
    padding: 15px 25px;
    font-weight: 600;
    text-align: center;
    color: #bbb;
    border: 1px solid transparent;
}
label:before {
    font-family: fontawesome;
    font-weight: normal;
    margin-right: 10px;
}
label[for*="1"]:before {
    content: "\f2bc";
}
label[for*="2"]:before {
    content: "\f0ca";
}
label[for*="3"]:before {
    content: "\f02f";
}
label[for*="4"]:before {
    content: "\f1a9";
}
label:hover {
    color: #888;
    cursor: pointer;
}
input:checked + label {
    color: #555;
    border: 1px solid #ddd;
    border-top: 2px solid orange;
    border-bottom: 1px solid #fff;
}
#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4 {
    display: block;
}
.center {
    text-align: center;
}
section p {
    line-height: 25px;
}
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/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.11.1.min.js"></script>
<script src="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- This script got from frontendfreecode.com -->

<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/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.11.1.min.js"></script>
<script src="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<style>
body {
    font: 14px/1 "Open Sans", sans-serif;
    color: #555;
    background: #eee;
}
main {
    min-width: 320px;
    max-width: 1100px;
    padding: 20px;
    margin: 0 auto;
    background: #fff;
}
section {
    display: none;
    padding: 20px 0 0;
    border-top: 1px solid #ddd;
}

input {
    display: none;
}
label {
    display: inline-block;
    margin: 0 0 -1px;
    padding: 15px 25px;
    font-weight: 600;
    text-align: center;
    color: #bbb;
    border: 1px solid transparent;
}
label:before {
    font-family: fontawesome;
    font-weight: normal;
    margin-right: 10px;
}
label[for*="1"]:before {
    content: "\f2bc";
}
label[for*="2"]:before {
    content: "\f0ca";
}
label[for*="3"]:before {
    content: "\f02f";
}
label[for*="4"]:before {
    content: "\f1a9";
}
label:hover {
    color: #888;
    cursor: pointer;
}
input:checked + label {
    color: #555;
    border: 1px solid #ddd;
    border-top: 2px solid orange;
    border-bottom: 1px solid #fff;
}
#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4 {
    display: block;
}
.center {
    text-align: center;
}
section p {
    line-height: 25px;
}
</style>

</head>
<body>
<h1 class="center">Tabs</h1>
<main>
    <input id="tab1" type="radio" name="tabs" checked />
    <label for="tab1">Tab1</label>
    <input id="tab2" type="radio" name="tabs" />
    <label for="tab2">Tab2</label>
    <input id="tab3" type="radio" name="tabs" />
    <label for="tab3">Reports</label>
    <input id="tab4" type="radio" name="tabs" />
    <label for="tab4">Tab4</label>
    <section id="content1">
        <p>
            Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
        </p>
    </section>
    <section id="content2">
        <p>
            Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
        </p>
    </section>
    <section id="content3">
        <p>
            Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
        </p>
    </section>
    <section id="content4">
        <p>
            Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
        </p>
    </section>
</main><div id="bcl"><a style="font-size:8pt;text-decoration:none;" href="http://www.devanswer.com">Free Frontend</a></div>

</body>
</html>
Preview