"Bootstrap Navigation Pills"
Bootstrap 4.0.0 Snippet by CreativeTim

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons">
<link rel="stylesheet" href="https://unpkg.com/bootstrap-material-design@4.1.1/dist/css/bootstrap-material-design.min.css" integrity="sha384-wXznGJNEXNG1NFsbm0ugrLFMQPWswR3lds2VeinahP8N0zJw9VWSopbjv2x7WCvX" crossorigin="anonymous">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Roboto+Slab:400,700|Material+Icons">
<body>
<div class="container mt-5">
<div class="title">
<h3>Navigation Pills</h3>
</div>
<div class="title">
<h3><small>Simple</small></h3>
</div>
<div class="row">
<div class="col-lg-6 col-md-8">
<ul class="nav nav-pills" role="tablist">
<!--
color-classes: "nav-pills-primary", "nav-pills-info", "nav-pills-success", "nav-pills-warning","nav-pills-danger"
-->
<li class="nav-item">
<a class="nav-link" href="#dashboard-1" role="tab" data-toggle="tab">
Dashboard
</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="#schedule-1" role="tab" data-toggle="tab">
Schedule
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#tasks-1" role="tab" data-toggle="tab">
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
html *{
-webkit-font-smoothing: antialiased;
}
.title h3{
font-size: 25px !important;
margin-top: 20px;
margin-bottom: 25px;
line-height: 1.4em !important;
font-weight: 300;
}
h3 {
font-size: 1.5625rem;
line-height: 1.4em;
}
small {
font-size: 75%;
color: #777;
}
.nav-pills .nav-item .nav-link {
line-height: 24px;
font-size: 12px;
font-weight: 500;
min-width: 100px;
color: #555;
transition: all .3s;
border-radius: 30px;
padding: 10px 15px;
text-align: center;
border-radius: 4px;
}
.nav-pills:not(.flex-column) .nav-item+.nav-item:not(:first-child) {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
$(document).ready(function() {
$('body').bootstrapMaterialDesign();
});
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: