If the div you want to target is the last div in the given parent, you could use :last-of-type instead of :last-child.
Even if there’s something following your list, it won’t interfere then (unless it’s a div of course).
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".