Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Sass Clearfix Mixin Based in this article -
// ======= Sass Clearfix Mixin =======
@mixin clearfix()
*zoom: 1
&:before, &:after
content: ""
display: table
clear: both
// // Usage
// .article
// @include clearfix()

Litaash commented Nov 20, 2016


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