I'm Calin Baenen – AKA KattyTheEnby – a programmer born October 30th, 2006.
I love programming, it has been my passion since I was a kid, and will forever be my passion.
I'm Calin Baenen – AKA KattyTheEnby – a programmer born October 30th, 2006.
I love programming, it has been my passion since I was a kid, and will forever be my passion.
s1 s2 {…} will select any child of s1, where as s1 > s2 {…} will select only direct children.
Then how come
s1 > s2still removed the::markers from thelidespiteno-markersbeing 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.