<ul class="list">
<li class="a">a</li>
<li class="b">b</li>
<li class="c">c</li>
<ul>
<li class="d">d</li>
</ul>
</ul>
ul.list li {
/*ul 태그 하위 요소인 모든 li를 선택*/
color:green;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.