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
2015 Answer: CSS last-of-type allows you to style the last item.
ul li:last-of-type { color: red; }