只想指定某一層的特定標籤
.yourclass ul li { ...this will affect both levels of li.}
.yourclass > ul > li { ...this will only affect the first level.}
.yourclass > ul > li > ul > li { ...this will only affect the second level.}
.yourclass > ul > li { ...this will only affect the first level.}
.yourclass > ul > li > ul > li { ...this will only affect the second level.}
留言
張貼留言