-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathchallenge-02.html
87 lines (62 loc) · 1.64 KB
/
challenge-02.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html>
<head>
<title>Flex Box Challenge 2 Solution</title>
<style>
header {
/* add some margin to the header */
/* margin: 0 0 2em 0; */
/* This 0 on all sides, and 2em at the bottom */
}
/* Select small tags that are the child of a header */
header > small {
/* color #777 medium gray */
}
h1 {
/* Remove the margin on the heading */
/* margin: 0 */
}
dt {
/* Add a line at the bottom */
/* border-bottom */
/* border-bottom-width: 1px; */
/* border-bottom-style: solid; */
/* border-bottom-color: #aaa; */
/* 0.5 em margin on the bottom */
/* margin: 0 0 0.5em 0; */
/* 0.5em padding-bottom. The rule below is setting: padding: top right bottom left */
/* padding: 0 0 0.5em 0; */
/* text align center */
/* make the font lighter weight */
/* font weight 100 */
}
dd {
/* add 2em margin on the bottom and 0 on the other sides */
/* Color #777 medium gray */
/* font weight 1000 */
}
body {
/* Font family Helvetica */
/* display flex */
/* justify content center */
/* align items center */
}
</style>
</head>
<body>
<article>
<header>
<h1>Weather forecast for Seattle</h1>
<small>Three day forecast</small>
</header>
<dl>
<dt><time>03 March 2018</time></dt>
<dd>Rain.</dd>
<dt><time>04 March 2018</time></dt>
<dd>Periods of rain.</dd>
<dt><time>05 March 2018</time></dt>
<dd>Heavy rain.</dd>
</dl>
</article>
</body>
</html>