Merge pull request #470 from Evergard/01
06-cascade-fix: Add a punctation mark
This commit is contained in:
commit
c56ddf657a
@ -85,7 +85,7 @@ div.text {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Then we added another selector to create a descendant combinator. If we only created a descendant combinator, the specificity would be tied with the
|
Then we added another selector to create a descendant combinator. If we only created a descendant combinator, the specificity would be tied with the
|
||||||
div.text selector and it would come down to rule order, and if we only moved it the div.text selector would still have a higher specificity.
|
div.text selector and it would come down to rule order, and if we only moved it, the div.text selector would still have a higher specificity.
|
||||||
|
|
||||||
Another solution would be to keep the rule where it was and just replace the div selector with the .text selector:
|
Another solution would be to keep the rule where it was and just replace the div selector with the .text selector:
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user