I have a list that may contain an unknown number of list items.
I would like to bleach every element of the list, say 5%, starting with the base color. Ideally, this can be done using LESS, but my mind will not completely go around how to do this without announcing the rules for everyone nth-child.
As always, all and all thoughts were evaluated.
<ul>
<li>item1</li>
<li>item2</li>
<li>item3</li>
<li>item4</li>
<li>item5</li>
</ul>
Also, not 100% against using jQuery, just not needed.
source
share