Skip to content

Instantly share code, notes, and snippets.

@davidchase
Last active December 14, 2015 12:18
Show Gist options
  • Save davidchase/5084929 to your computer and use it in GitHub Desktop.
Save davidchase/5084929 to your computer and use it in GitHub Desktop.
CSS a nice way of using OOCSS and clearing floats
/*Cleafix
Use group for semantic purposes
*/
.group:before,
.group:after {
content:"";
display:table;
}
.group:after {
clear:both;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment