-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgrid_bounds_01.html
60 lines (54 loc) · 1.18 KB
/
grid_bounds_01.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<style>
.container {
display:grid;
grid-template-columns: 25% 25% 25% 25% ;
grid-template-rows: 25% 25% 25%;
gap: 5px;
overflow:hidden;
}
.image {
border:5px black solid;
grid-row: 1 / 3;
grid-column: 1 / 3;
filter:grayscale(100%);
overflow:hidden;
}
.image img {
width: 100%;
}
div{
background: CadetBlue;
text-align: center;
padding: 5px;
}
div:nth-of-type(odd) {
background: BurlyWood;
}
</style>
</head>
<body>
<div class="container">
<div class="image4 image">
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2d/Google-favicon-2015.png/150px-Google-favicon-2015.png" alt="journey map" />
</div>
<div>2</div>
<div>3</div>
<div>4</div>
<div>5</div>
<div>6</div>
<div>7</div>
<div>8</div>
<div>9</div>
<!-- <div>10</div>
<div>11</div>
<div>12</div>
<div>13</div>
-->
</div>
</body>
</html>