Skip to content

Instantly share code, notes, and snippets.

@fahidjavid
Created August 25, 2017 15:31
Show Gist options
  • Select an option

  • Save fahidjavid/7d50df7eab73fa7d9f2a4d0600be967b to your computer and use it in GitHub Desktop.

Select an option

Save fahidjavid/7d50df7eab73fa7d9f2a4d0600be967b to your computer and use it in GitHub Desktop.
ClearFix styles for container of floating divs
.clearfix { *zoom: 1; }
.clearfix:before, .clearfix:after { display: table; content: ""; line-height: 0; }
.clearfix:after { clear: both; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment