2
I’ve always had this question: what is the point of >
in CSS3? I have tried to deduce its function in several files, but still not understood.
That:
nav > li > a { ... }
wouldn’t be the same as that?:
nav li a{ ... }
2
I’ve always had this question: what is the point of >
in CSS3? I have tried to deduce its function in several files, but still not understood.
That:
nav > li > a { ... }
wouldn’t be the same as that?:
nav li a{ ... }
Browser other questions tagged css css3
You are not signed in. Login or sign up in order to post.
As @mgibsonbr noted and the Stock response explains, it selects all immediate/direct descendants.
– Sergio