> Not if .nav li a{} and .nav a{} are specifically meant to be differing nests.
But in the example they aren’t differing nests; if you change your example then obviously it isn’t correct any more.
But in the example they aren’t differing nests; if you change your example then obviously it isn’t correct any more.
.nav {
li {}
a {}
}
If that's not the case, why is your first "nested" pure CSS example this: .nav a {}
instead of .nav li a {}EDIT Hold on, I think I get you… My example was an example of someone writing something incorrectly. An example of it being written correctly would indeed be:
.nav{
li{}
a{}
}