I want to remove the clearfix class from my HTML and include a clearfix mixin in my SCSS (Rails 3.1 application). What is the best approach to this?
clearfix
// source http://www.alistapart.com/articles/getting-started-with-sass/ // http://nicolasgallagher.com/micro-clearfix-hack/ @mixin clearfix { // For modern browsers &:before, &:after { content:" "; display:table; } &:after { clear:both; } // For IE 6/7 (trigger hasLayout) & { *zoom:1; } }