1. cliveportman
  2. /code
  3. /last-child-not-working

:last-child not working?

If you're having problems with :last-child, remember it only works if the element is the last child of an element. This is different to it being the last of its type in an element, when you should use :last-of-type.

Think about it - there is a difference.