Is it possible to make exceptions when writing CSS selectors in the LESS framework?
Example:
<ul> <li>one</li> <li>two</li> <li><a href="#">three</a></li> <li><a href="#">four</a></li> </ul> Is there a way to write a selector that affects all instances of <li> except those which contain an <a>?
I know the LESS implements Guards (that act like if/else statements), but I actually don't know if they can help or if there are no solutions.