Skip to content

Instantly share code, notes, and snippets.

@JorjeRedemption
Created February 22, 2018 14:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JorjeRedemption/0667bfcab4e5ad6f99461f598ce8eb24 to your computer and use it in GitHub Desktop.
Save JorjeRedemption/0667bfcab4e5ad6f99461f598ce8eb24 to your computer and use it in GitHub Desktop.
Clear floats after and before an item in less.
&:before, &:after {
content: " ";
display: table;
}
&:after {
clear: both;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment