The lobotomized owl CSS trick

This is a fun selector for when you need space between every element, except the last one.

* + * {

  margin-top: 1.5em;


I’ve also used a trick for cases where you have two elements next to each other, and the second element may not always be there:

:first-of-type:not(:last-of-type) {

   margin-right: 1.5em;