Skip to content

Commit 4b02470

Browse files
committed
Inheritance
1 parent 7f957c5 commit 4b02470

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

starter/03-CSS-Fundamentals/index.html

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

2222
<nav>
23+
<!-- <strong>this is a para</strong> -->
2324
<a href="blog.html">Blog</a>
2425
<a href="#">Challenges</a>
2526
<a href="#">Flexbox</a>

starter/03-CSS-Fundamentals/style.css

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
1+
* {
2+
/* border-top: 10px solid #1098ad; */
3+
}
4+
5+
body {
6+
color: #444;
7+
font-family: sans-serif;
8+
}
9+
110
h1,
211
h2,
312
h3,
413
h4,
514
p,
6-
li {
7-
font-family: sans-serif;
8-
color: #444;
9-
}
15+
/* li { */
16+
/* font-family: sans-serif; */
17+
/* color: #444; */
18+
/* } */
1019
h1,
1120
h2,
1221
h3 {
@@ -116,3 +125,6 @@ a:active {
116125
footer p {
117126
color: orange;
118127
}
128+
nav {
129+
font-size: 18px;
130+
}

0 commit comments

Comments
 (0)