Skip to content

Instantly share code, notes, and snippets.

@DanielWright
Created August 27, 2012 17:27
Show Gist options
  • Save DanielWright/3490611 to your computer and use it in GitHub Desktop.
Save DanielWright/3490611 to your computer and use it in GitHub Desktop.
Alternative to Compass's in-built +clearfix mixin
@mixin alternate-clearfix
overflow: visible
*zoom: 1
&::before, &::after
content: ''
display: table
&::after
clear: both
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment