Skip to content

Instantly share code, notes, and snippets.

@scottmas
Created December 11, 2013 20:27
Show Gist options
  • Save scottmas/7917860 to your computer and use it in GitHub Desktop.
Save scottmas/7917860 to your computer and use it in GitHub Desktop.
Float expand. Forces element to expand to bottom of floated content;
//expand-float actually isn't a mixin, but a useful class that must be given in the html
.expand-float:before,
.expand-float:after {
content: "";
display: table;
}
.expand-float:after {
clear: both;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment