Sha256: 67af5e929a815d5f8da2fc1f5839e5a50ad1552530e025241c1dfe112df76deb

Contents?: true

Size: 402 Bytes

Versions: 5

Compression:

Stored size: 402 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/
//
%stitch-clearfix {
	&:before,
	&:after {
	    content:"";
	    display:table;
	}
	&:after {
	    clear:both;
	}
	zoom:1;
}

@mixin clear-floats {
	@extend %stitch-clearfix;
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
stitch-0.1.7.beta.3 stylesheets/stitch/patterns/layout/_clear-floats.scss
stitch-0.1.7.beta.2 stylesheets/stitch/patterns/layout/_clear-floats.scss
stitch-0.1.7.beta.1 stylesheets/stitch/patterns/layout/_clear-floats.scss
stitch-0.1.6 stylesheets/stitch/patterns/layout/_clear-floats.scss
stitch-0.1.5 stylesheets/stitch/patterns/layout/_clear-floats.scss