-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathchallenge-00.html
59 lines (38 loc) · 1.07 KB
/
challenge-00.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
<!DOCTYPE html>
<html>
<head>
<title>Flex Box Challenge 0</title>
<style>
/* Your styles here */
/* Set the height of the body and html elements to 100% */
/* This makes them expand to fill the window vertically. */
body, html {
/* set the height of the container: height: 100%; */
}
/* Style the boxes */
.box {
/* font-size 2em */
/* width: 100px */
/* height: 100px */
/* background-color your favorite color */
/* Arrange the content of the box with flex */
/* display: flex */
/* arrange everything on the main axis justify-content: center */
/* arrange everything on the cross axis align-items: center, */
}
/* use flex to align everything in the body, the three div.box */
body {
/* Arrange the boxes with flex */
/* display: flex */
/* flex-direction: column */
/* justify-content: space-arround */
/* align-items: center */
}
</style>
</head>
<body>
<div class="box">A</div>
<div class="box">B</div>
<div class="box">C</div>
</body>
</html>