-
Notifications
You must be signed in to change notification settings - Fork 0
/
iconBar.html
41 lines (41 loc) · 1.13 KB
/
iconBar.html
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
38
39
40
41
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Icon Bar</title>
</head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
.icon-bar{
width: 100%;
background-color: #555;
overflow: auto;
}
.icon-bar a{
float: left;
width: 20%;
padding: 12px 0;
text-align: center;
transition: all 0.3s ease;
color: white;
font-size: 36px;
}
.icon-bar a:hover{
background-color: #000;
}
.active{
background-color: #04AA6D;
}
</style>
<body>
<div class="icon-bar">
<a href="#" class="active"><i class="fa fa-home"></i></a>
<a href="#"><i class="fa fa-search"></i></a>
<a href="#"><i class="fa fa-envelope"></i></a>
<a href="#"><i class="fa fa-globe"></i></a>
<a href="#"><i class="fa fa-trash"></i></a>
</div>
</body>
</html>