Sha256: 5fd5f30969540f9d89e7fb7d812741889a382ccfefafa78b3e25b8cc22ddcc2c

Contents?: true

Size: 395 Bytes

Versions: 2

Compression:

Stored size: 395 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.3 stylesheets/stitch/patterns/layout/_clear-floats.scss
stitch-0.1.2 stylesheets/stitch/patterns/layout/_clear-floats.scss