Sha256: a6278ecce6c0d23c9367c9ae89b4b59a41ca9e3b4ba65e2ef75efc95b2b0a015
Contents?: true
Size: 1.13 KB
Versions: 11
Compression:
Stored size: 1.13 KB
Contents
$legacy-support-for-ie6: false !default; $legacy-support-for-ie7: false !default; $legacy-support-for-mozilla: false !default; @mixin clearfix { @if $legacy-support-for-ie6 and $legacy-support-for-ie7 and not $legacy-support-for-mozilla { /* for IE 6/7 */ *zoom: expression(this.runtimeStyle.zoom="1", this.appendChild(document.createElement("br")).style.cssText="clear:both;font:0/0 serif"); /* non-JS fallback */ *zoom: 1; &:before, &:after { content: ""; display: table; } &:after { clear: both; } } @else if $legacy-support-for-ie6 and $legacy-support-for-ie7 and $legacy-support-for-mozilla { /* for IE 6/7 */ *zoom: expression(this.runtimeStyle.zoom="1", this.appendChild(document.createElement("br")).style.cssText="clear:both;font:0/0 serif"); /* non-JS fallback */ *zoom: 1; &:before, &:after { content: "."; display: block; height: 0; overflow: hidden; } &:after { clear: both; } } @else { &:after { content: ""; display: table; clear: both; } } } %clearfix { @include clearfix; }
Version data entries
11 entries across 11 versions & 2 rubygems