"Typography Examples"
Bootstrap 3.3.0 Snippet by richobrien

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/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<link href="//fonts.googleapis.com/css?family=Hind" rel="stylesheet" type="text/css">
<link href="//fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">
<link href="//fonts.googleapis.com/css?family=Montserrat" rel="stylesheet" type="text/css">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<div class="container">
<div class="row">
<h2>Typography Examples</h2>
</div>
</div>
<div class="container">
<h2>Heading Text</h2>
<p>Examples using standard <code>h1</code> to <code>h6</code> html tags</p>
<h1>h1. Heading</h1>
<h2>h2. Heading</h2>
<h3>h3. Heading</h3>
<h4>h4. Heading</h4>
<h5>h5. Heading</h5>
<h6>h6. Heading</h6>
<br>
<br>
<p>Examples using <code>heading-inverse</code> css</p>
<h1 class="heading-inverse">h1. Heading</h1>
<h2 class="heading-inverse">h2. Heading</h2>
<h3 class="heading-inverse">h3. Heading</h3>
<h4 class="heading-inverse">h4. Heading</h4>
<h5 class="heading-inverse">h5. Heading</h5>
<h6 class="heading-inverse">h6. Heading</h6>
<br>
<br>
<p>Examples using <code>inverse-primary</code> to <code>inverse-danger</code> css</p>
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
body {
font-family:hind;
}
h1,h2,h3,h4,h5,h6{
font-family:montserrat;
}
.heading-inverse{
background-color:#333;
color:#ffffff;
padding:5px;
}
.inverse-primary{
background-color:#3498db;
color:#ffffff;
padding:5px;
}
.inverse-success{
background-color:#2ecc71;
color:#ffffff;
padding:5px;
}
.inverse-info{
background-color:#9b59b6;
color:#ffffff;
padding:5px;
}
.inverse-warning{
background-color:#e67e22;
color:#ffffff;
padding:5px;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: