Created
June 4, 2013 18:30
-
-
Save vicainelli/5708278 to your computer and use it in GitHub Desktop.
Sass Clearfix Mixin Based in this article - http://web-design-weekly.com/snippets/sass-clearfix-mixin/
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
// ======= Sass Clearfix Mixin ======= | |
@mixin clearfix() | |
& | |
*zoom: 1 | |
&:before, &:after | |
content: "" | |
display: table | |
&:after | |
clear: both | |
// // Usage | |
// .article | |
// @include clearfix() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks)