Sha256: e017f47693d4406ba1924341f4c4a0e1252864af47038f602dda00a853866fc1
Contents?: true
Size: 506 Bytes
Versions: 2
Compression:
Stored size: 506 Bytes
Contents
/* Allows a parent element to enclose the full height of the children * elements when all of the children are floated. * Normally the parent will have no height. * @see http://nicolasgallagher.com/micro-clearfix-hack/ */ @mixin clear-floats($legacy:false) { // IE6/7 support @if $legacy == true { &::before, &::after { content:""; display:block; } &::after { clear:both; } zoom:1; } @if $legacy == false { &::after { content:""; display:block; clear:both; } } }
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
stitch-0.0.3 | stylesheets/stitch/patterns/layout/_clear-floats.scss |
compass-stitch-0.0.1 | stylesheets/stitch/patterns/layout/_clear-floats.scss |