-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path23_done.html
More file actions
59 lines (55 loc) · 1.62 KB
/
23_done.html
File metadata and controls
59 lines (55 loc) · 1.62 KB
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
<!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>Document</title>
<style>
body {
margin: 0;
}
.box {
width: 100px;
height: 100px;
}
.item-a { background-color: red; }
.item-b { background-color: blue; }
.item-c { background-color: orange; }
.item-d { background-color: green; }
.item-e { background-color: green; }
.item-f { background-color: red; }
.item-g { background-color: yellow; }
.item-h { background-color: blue; }
.item-i { background-color: red; }
.item-j { background-color: red;}
.item-a:hover { background-color: yellow; }
.item-b:hover { background-color: green; }
.item-c:hover { background-color: white; }
.item-d:hover { background-color: yellow; }
.item-e:hover { background-color: purple; }
.item-f:hover { background-color: cyan; }
.item-g:hover { background-color: brown; }
.item-h:hover { background-color: green; }
.item-i:hover { background-color: yellow; }
.item-j:hover { background-color: blue;}
.container {
display: grid;
grid-template-columns: 100px 100px 100px;
}
</style>
</head>
<body>
<div class="container">
<div class="item-a box">a</div>
<div class="item-b box">b</div>
<div class="item-c box">c</div>
<div class="item-d box">d</div>
<div class="item-e box">e</div>
<div class="item-f box">f</div>
<div class="item-g box">g</div>
<div class="item-h box">h</div>
<div class="item-j box">i</div>
</div>
</body>
</html>