We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4634b5f commit baea35dCopy full SHA for baea35d
foundations/02-class-id-selectors/solution/solution.css
@@ -12,6 +12,15 @@
12
font-size: 36px;
13
}
14
15
+/*
16
+ In the id selector 'four' below, we could have also
17
+ added a rule to set the font size to 24px.
18
+
19
+ However, since the elements 'Number 3' and 'Number 4'
20
+ in the HTML file share the same font size, we reused
21
+ the 'adjust-font-size' class above to help reduce
22
+ duplicate code.
23
+*/
24
#four {
25
background-color: hsl(120, 100%, 75%);
26
font-weight: bold;
0 commit comments