3 ms·
Your example would corrupt the following case: <ul class="collection"> <li class="collection-item"> <ul> <li>Bulleted label</li> <li>Bulleted label 2</li
by patsplat 11y ago
Your example would corrupt the following case:
<ul class="collection">
<li class="collection-item">
<ul>
<li>Bulleted label</li>
<li>Bulleted label 2</li>
</ul>
</li>
</ul>
This case must be considered when setting coding standards for a framework.
- brlewis 11y agoWas this sentence not there when you first replied? You want nested li's to not inherit the styles? Use ".collection > li" in your CSS.
- patsplat 11y agooh my. missed the > when first replied. Note that ie6 did not support that selector. Until recently that certainly was a case for the frameworks to support.