Skip to content

Instantly share code, notes, and snippets.

@Shipow
Last active December 26, 2015 14:39
Show Gist options
  • Save Shipow/7167011 to your computer and use it in GitHub Desktop.
Save Shipow/7167011 to your computer and use it in GitHub Desktop.
SASS: Clearfix
@mixin clearfix()
&
*zoom: 1
&:before,
&:after
content: ""
display: table
&:after
clear: both
@Shipow
Copy link
Author

Shipow commented Oct 26, 2013

Usage

.article
  @include clearfix()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment