Sha256: 5271415af7ed8522e1274ae3419119f719ace7349f0c83ec16d2a56ccd6e5c06

Contents?: true

Size: 392 Bytes

Versions: 5

Compression:

Stored size: 392 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

5 entries across 5 versions & 1 rubygems

Version Path
stitch-0.1.4 stylesheets/stitch/patterns/layout/_clear-floats.scss
stitch-0.1.4.beta.2 stylesheets/stitch/patterns/layout/_clear-floats.scss
stitch-0.1.4.beta.1 stylesheets/stitch/patterns/layout/_clear-floats.scss
stitch-0.1.3.2 stylesheets/stitch/patterns/layout/_clear-floats.scss
stitch-0.1.3.1 stylesheets/stitch/patterns/layout/_clear-floats.scss