mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-09-24 23:01:18 +08:00
fix(curriculum): typo in css specificity (#63067)
This commit is contained in:
+1
-1
@@ -124,7 +124,7 @@ p {
|
||||
|
||||
Finally, the universal selector, represented by an asterisk `*`, has the lowest specificity of all.
|
||||
|
||||
Here is an example of setting the color for all elements to red using the `*` selector. You won't see any red elements though because there are class and type selectors that override those styles which highlights the low specificity of the `*` selector.
|
||||
Here is an example of setting the color for all elements to red using the `*` selector. You won't see any red elements though because there are ID and type selectors that override those styles which highlights the low specificity of the `*` selector.
|
||||
|
||||
:::interactive_editor
|
||||
|
||||
|
||||
Reference in New Issue
Block a user