"Page titles with icon"
Bootstrap 3.3.0 Snippet by texh

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<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 ---------->
<div class="container">
<div class="row">
<div class="page-header">
<h1>Blog</h1>
<span class="icon-bar">
<i class="glyphicon glyphicon-tower" aria-hidden="true"></i>
</span>
<h2>Recent Articles</h2>
</div>
</div>
</div>
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
@import 'https://fonts.googleapis.com/css?family=Open+Sans:300';
h1 {
font-family: 'Open Sans';
font-weight: 300;
text-transform: uppercase;
font-size: 3.7em;
}
h2 {
font-family: 'Open Sans';
font-weight: 300;
color: #ccc;
font-size: 1.9em;
}
.page-header {
border: none;
text-align: center;
}
.page-header h1 {
margin-bottom: 6px;
}
.page-header h2 {
margin-top: 0;
}
.icon-bar {
font-size: 1.3em;
position: relative;
color: #ff9933;
}
.icon-bar:after,
.icon-bar:before
{
display: block;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: