I have an unordered list, which can contain either an even or odd number of items. I\'m looking for a CSS-only way to remove the border from the last 2 li tags
li
This works for me. Dynamically select the last odd child.
li:nth-last-child(1):nth-child(odd)