I have a .scss file that, among other things contains this:
nav {
font-size: 0;
ul {
margin: $padding/3;
}
li {
z-index: 10;
position: re
Just think about how you would want to write the actual css selector. Don't nest everything just because it is a child of the element.
nav li ul li a {
/* over specific, confusing */
}
.sub-menu a {
/* add a class to nested menus */
}
Once you start chaining that many selectors, it becomes a pain to override and can lead to specificity issues.