I am wondering if there is some way to change a CSS attribute for the last li in a list using CSS. I have looked into using :last-child, but this
li
:last-child
You could use jQuery and do it as such way
$("li:last-child").addClass("someClass");