-
Notifications
You must be signed in to change notification settings - Fork 10
/
hover.html
169 lines (167 loc) · 2.2 KB
/
hover.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style>
.main1{
background:#F00;
width:16%;
height:auto;
float:left;
}
.main2{
background:#0F0;
width:16%;
height:50px;
float:left;
}
.main3{
background:#F0F;
width:16%;
height:50px;
float:left;
}
.main4{
background:#FF0;
width:16%;
height:50px;
float:left;
}
.main5{
background:#0FF;
width:16%;
height:50px;
float:left;
}
.main6{
background:#900;
width:16%;
height:50px;
float:left;
}
.A{
background:#3FF;
width:100%;
height:auto;
float:left;
}
.a{
font-size:24px;
color:#63C;
text-align:center;
}
.A:hover{
border:#009 2px solid;
background:#999;
}
.B{
background:#93F;
width:100%;
height:auto;
float:left;
}
.b{
font-size:24px;
color:#F30;
text-align:center;
}
.B:hover{
border:#39F 2px solid;
background:#FF9;
}
.C{
background:#FC0;
width:100%;
height:auto;
float:left;
}
.c{
font-size:24px;
color:#666;
text-align:center;
}
.C:hover{
border:#C33 2px solid;
background:#9FC;
}
.D{
background:#903;
width:100%;
height:auto;
float:left;
}
.d{
font-size:24px;
color:#FFF;
text-align:center;
}
.D:hover{
border:#939 2px solid;
background:#F93;
}
.E{
background:#CF0;
width:100%;
height:auto;
float:left;
}
.e{
font-size:24px;
color:#03F;
text-align:center;
}
.E:hover{
border:#F00 2px solid;
background:#6CF;
}
.F{
background:#3FF;
width:100%;
height:auto;
float:left;
}
.f{
font-size:24px;
color:#63C;
text-align:center;
}
.F:hover{
border:#F09 2px solid;
background:#999;
}
</style>
</head>
<body>
<div class="main1">
<div class="A">
<p class="a">Sanchit Singhal</p>
</div>
</div>
<div class="main2">
<div class="B">
<p class="b">ABESEC</p>
</div>
</div>
<div class="main3">
<div class="C">
<p class="c">Ghaziabad</p>
</div>
</div>
<div class="main4">
<div class="D">
<p class="d">BTech</p>
</div>
</div>
<div class="main5">
<div class="E">
<p class="e">CSE</p>
</div>
</div>
<div class="main6">
<div class="F">
<p class="f">2 Year</p>
</div>
</div>
</body>
</html>