forked from Make-School-Labs/CSS-Challenges
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathchallenge-6.html
115 lines (81 loc) · 2.29 KB
/
challenge-6.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html lang="en">
<head>
<title>Challenge 6</title>
<style>
/* Add some styles */
body {
/* Font 'Helvetica Neue' */
/* Add some line height */
}
h1 {
/* Make the heading really big */
/* Make the color #000 */
/* Make the font weight lighter font-weight: lighter */
}
/* Maybe the small text doesn't need to be so small */
/* Might be just lighter in color */
header > small {
/* font size 1.5em */
/* Font weight bold */
/* color light gray #999 */
}
/* Style the time in the header */
header > time {
/* make the font size 1.5em */
/* make the fonr weight bold */
/* Make the color #555 */
}
/* Style the list container */
/* Lets remove the bullets and padding */
footer ul {
/* list-style: none */
/* Remove the padding on the list */
/* This will get rid of the space on the left */
/* padding: 0 */
}
/* Arrange the list items inline */
/* Normally a list is vertical but you can arrange it horizontal if
you prefer */
footer li {
/* Change the display from block to inline */
/* display: inline */
/* Make the font weight bold */
/* Color #999 */
}
/* Style the link */
a {
/* Color rgb(0, 145, 255) */
/* Remove the underline */
/* text-decoration: none */
}
/* Define a hover style */
/* The hover style applied when the cursor is over the element */
a:hover {
/* color rgb(0, 114, 201) */
}
</style>
</head>
<body>
<article>
<header>
<h1>Barack Obama</h1>
<small>@BarackObama</small>
<time datetime="2018-06-09">Jul 9</time>
</header>
<p>
It's clear our communities are crying out for change-and what that change looks like is up to us. That's why it's
important to take a hard look at all the perspectives and proposals out there, even the ones we disagree with. It's
how we'll come up with solutions that last.
</p>
<footer>
<ul>
<li>1.3K</li>
<li>4.3K</li>
<li>29.7K</li>
</ul>
<a href="#">Show this thread</a>
</footer>
</article>
</body>
</html>