"font awesome icons hover effect"
Bootstrap 3.0.0 Snippet by zahirpatel

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<div class-"conatiner">
<div class="icon">
<span class="fa-stack fa-2x" aria-hidden="true">
<i class="fa fa-heart-o fa-stack-1x fa-inverse"></i>
</span>
<span class="fa-stack fa-2x" aria-hidden="true">
<i class="fa fa-home fa-stack-1x fa-inverse"></i>
</span>
<span class="fa-stack fa-2x" aria-hidden="true">
<i class="fa fa-frown-o fa-stack-1x fa-inverse"></i>
</span>
<span class="fa-stack fa-2x" aria-hidden="true">
<i class="fa fa-futbol-o fa-stack-1x fa-inverse"></i>
</span>
</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
.icon{
text-align:center; margin-top:5em
}
.fa.fa-home, .fa-frown-o, .fa-futbol-o, .fa-heart-o{
border-radius: 50%;
background:#b4b4b4;
}
.fa-frown-o{
border-radius: 50%;
background:#b4b4b4;
}
.fa-frown-o:hover{
background: #EA6212;
}
.fa-futbol-o:hover{
background: #EA6212;
}
.fa-heart-o:hover{
background: #EA6212;
}
.fa.fa-home:hover{
background: #EA6212;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: