Created
December 11, 2013 20:27
-
-
Save scottmas/7917860 to your computer and use it in GitHub Desktop.
Float expand. Forces element to expand to bottom of floated content;
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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