css select last element in div code example Example: selecting last child css p:last-child { font-size: 0.75em; }