css not last child +1 code example Example: not last child css p:not(:last-child) { margin-bottom: 20px }