Skip to content

Commit 36fe5cc

Browse files
committed
feat: css theory jonasschmedtmann#2 inheritance and the universal selector
1 parent ba809af commit 36fe5cc

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

starter/03-CSS-Fundamentals/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ <h6>The Basic Language of the Web: HTML</h6>
2121
<h1>📘 The Code Magazine</h1>
2222

2323
<nav>
24+
<strong>This is the navigation</strong>
2425
<a href="blog.html">Blog</a>
2526
<a href="#">Challenges</a>
2627
<a href="#">Flexbox</a>

starter/03-CSS-Fundamentals/style.css

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
h1,
2-
h2,
3-
h3,
4-
h4,
5-
p,
6-
li {
7-
font-family: sans-serif;
1+
/* * Universal styles*/
2+
3+
* {
4+
/* border-top: 10px solid #1098ad; */
5+
}
6+
7+
body {
88
color: #444;
9+
font-family: sans-serif;
10+
border-top: 10px solid #1098ad;
911
}
1012

1113
h1,
@@ -145,3 +147,7 @@ a:active {
145147
footer p {
146148
color: green;
147149
}
150+
151+
nav {
152+
font-size: 18px;
153+
}

0 commit comments

Comments
 (0)