Added space to clearfix to improve compatibility with the Opera Browser.
Same as in HTML5Boilerplate: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css
// The micro clearfix http://nicolasgallagher.com/micro-clearfix-hack/
@mixin clearfix() { *zoom:1;
- &:before, &:after { content: ""; display: table; }
+ &:before, &:after { content: " "; display: table; }
&:after { clear: both; }
}
@mixin mobileClearfix() {
- @include respondTo(smallScreen) { &:before, &:after { content: ""; display: table; }
+ @include respondTo(smallScreen) { &:before, &:after { content: " "; display: table; }
&:after { clear: both; }
&:last-child { float: none; }
}