fix(curriculum): fix reference to class and selector names (Balance Sheet Step 45) (#47268)

fix(curriculum): fix reference to class and selector names
This commit is contained in:
sidemt
2022-08-12 23:17:53 +09:00
committed by GitHub
parent 10d626dd23
commit 5c23145a69

View File

@@ -9,7 +9,7 @@ dashedName: step-45
Before you start diving in to the table itself, your `span` elements are currently bolded. Create a `span:not(.sr-only)` selector and give it a `font-weight` property set to `normal`.
The `:not()` pseudo-selector is used to target all elements that do not match the selector - in this case, any of your `span` elements that do not have the `span[class~="sr-only"]` class. This ensures that your earlier rules for the `sr-only` class are not overwritten.
The `:not()` pseudo-selector is used to target all elements that do not match the selector - in this case, any of your `span` elements that do not have the `sr-only` class. This ensures that your earlier rules for the `span[class~="sr-only"]` selector are not overwritten.
# --hints--