Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Because `.nav li a{}` is overly specific; that’s my whole point.

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{}
    }


Cool, we're on the same page. =)




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: