-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgrid.html
47 lines (46 loc) · 794 Bytes
/
grid.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
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1.0"/>
<link rel="stylesheet" href="" type="text/css"/>
</head>
<style>
body{
margin:0;
padding:0;
}
.grid-con{
display:grid;
background:skyblue;
grid-template-columns:auto auto auto auto;
grid-template-rows:80px 80px 80px 80px;
grid-column-gap:0px;
grid-row-gap:0px;
}
.fyi{
margin-top:20px;
background:lightblue;
padding:4px 4px;
border:1px solid white;
box-sizing:border-box;
}
</style>
<body>
<div class='grid-con'>
<div class='fyi'>
dhdbdyDJd
</div>
<div class='fyi'>
dhdbdyDJd
</div>
<div class='fyi'>
dhdbdyDJd
</div>
<div class='fyi'>
dhdbdyDJd
</div>
</div>
</body>
</html>