forked from sindlinger/archyve
-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout.html
64 lines (57 loc) · 985 Bytes
/
layout.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
<!DOCTYPE html>
<html>
<head>
<style>
:root {
--clr-dark: black;
--clr-light: white;
--clr-accent: red;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
.body {
align-items: center;
}
.container {
width: 80%;
height: 500px;
margin: 0 auto;
border: 10px solid var(--clr-dark)
}
.item {
width: 150px;
height: 150px;
background-color: orange;
padding: 1em;
font-weight: 600;
color: var(--clr-light);
text-align: center;
border: 10px solid darkorange;
border-radius: 10px;
}
.container {
display: flex;
/* flex-direction: column; */
/* justify-content: flex-end; */
/* justify-content: space-around; */
/* justify-content: space-between; */
justify-content: space-evenly;
align-items: center;
}
.item-1 {
flex: 1
}
</style>
</head>
<body>
<h1>Hello!</h1>
<div class="container flex">
<div class="item item-1">Beep</div>
<div class="item item-2">Boop</div>
<div class="item item-3">Blerp</div>
</div>
</body>
</html>