Skip to content

Commit ff502fb

Browse files
Merge pull request 4GeeksAcademy#84 from UmiKami/05-Specificity
made background yellow more specific so that using !important is meaningful
2 parents 0a9cfbe + 75c4824 commit ff502fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

exercises/05-Specificity/solution.hide.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ul li {
22
background: blue;
33
}
44

5-
#thirditem {
5+
li + #thirditem {
66
background: yellow;
77
}
88
/****** DON NOT EDIT ANYTHING ABOVE THIS LINE ****/

exercises/05-Specificity/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ul li {
22
background: blue;
33
}
44

5-
#thirditem {
5+
li + #thirditem {
66
background: yellow;
77
}
88
/****** DON NOT EDIT ANYTHING ABOVE THIS LINE ****/

0 commit comments

Comments
 (0)