-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex_JustifyContent.html
More file actions
44 lines (41 loc) · 1.18 KB
/
index_JustifyContent.html
File metadata and controls
44 lines (41 loc) · 1.18 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
body {
margin: 0;
padding: 0;
}
.container {
margin: 0;
height: calc(100vh - 20px);
width: calc(100vw -20px);
border: 10px solid red;
display: flex;
flex-direction: column;
justify-content: center;
}
.container > .img-blocks {
display: flex;
flex-direction: row;
justify-content: space-around;
}
</style>
</head>
<body>
<div class="container">
<div class="img-blocks">
<img src="https://source.unsplash.com/random/150x150" alt="">
<img src="https://source.unsplash.com/random/150x150" alt="">
<img src="https://source.unsplash.com/random/150x150" alt="">
<!-- <img src="https://source.unsplash.com/random/150x150" alt=""> -->
<!-- <img src="https://source.unsplash.com/random/150x150" alt=""> -->
<!-- <img src="https://source.unsplash.com/random/150x150" alt=""> -->
</div>
</div>
</body>
</html>