-
Notifications
You must be signed in to change notification settings - Fork 12
/
2.html
63 lines (54 loc) · 1.21 KB
/
2.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 lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Likelion html,css - 4번 문제</title>
</head>
<style>
html,
body {
height: 100%;
margin: 0;
}
.container {
height: 100%;
min-height: 100%;
display: flex;
flex-direction: row-reverse;
}
.box {
text-align: center;
color: white;
font-family: sans-serif;
font-size: 36px;
padding: 20px;
display: flex;
flex-direction: row;
justify-content: center;
}
.box-1 {
background-color: rgb(248, 223, 227);
flex-grow: 1;
align-items: center;
}
.box-2 {
background-color: rgb(247, 194, 202);
flex-grow: 1;
align-items: center;
}
.box-3 {
background-color: rgb(246, 142, 158);
flex-grow: 1;
align-items: center;
}
</style>
<body>
<div class="container">
<div class="box box-1">만들어줘~!</div>
<div class="box box-2">가로로</div>
<div class="box box-3">나를</div>
</div>
</body>
</html>