Sha256: de93b982802e13f23e8e3e7b009d2fb702359079d1476b3477163ed092ab5948

Contents?: true

Size: 394 Bytes

Versions: 2

Compression:

Stored size: 394 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/
 */

.__clearfix {
	&::before,
	&::after {
	    content:"";
	    display:table;
	}
	&::after {
	    clear:both;
	}
	zoom:1;
}

@mixin clear-floats {
	@extend .__clearfix;
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stitch-0.1.1 stylesheets/stitch/patterns/layout/_clear-floats.scss
stitch-0.1.0 stylesheets/stitch/patterns/layout/_clear-floats.scss