Then how come s1 > s2 still removed the ::markers from the li despite no-markers being applied to the ul?
s1 > s2
::marker
li
no-markers
ul
Because of the space between the declarations. Take a look at this for a comparison. codepen.io/endymion1818/pen/WNMMpwO
But there's no > there. Or is that only required when two tag selectors need to be disambiguated?
>
Yes you're close, the space signifies selecting a child in this case.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Then how come
s1 > s2
still removed the::marker
s from theli
despiteno-markers
being applied to theul
?Because of the space between the declarations. Take a look at this for a comparison. codepen.io/endymion1818/pen/WNMMpwO
But there's no
>
there.Or is that only required when two tag selectors need to be disambiguated?
Yes you're close, the space signifies selecting a child in this case.