css p:last-child code example Example: remove border from last child css .menu li:last-child { border: none; }