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