css selector for last and first child\ code example Example: selecting last child css p:last-child { font-size: 0.75em; }