Sha256: bb078f3aa27fca92acadffaa32d3294f4acfcd90868a0573fd9b34c44ce4a7b5
Contents?: true
Size: 554 Bytes
Versions: 1
Compression:
Stored size: 554 Bytes
Contents
// Micro clearfix provides an easy way to contain floats without adding additional markup // // Example usage: // // // Contain all floats within .wrapper // .wrapper { // @include clearfix; // .content, // .sidebar { // float : left; // } // } @mixin clearfix { *zoom: 1; &:before, &:after { content: " "; display: table; } &:after { clear: both; } } // Acknowledgements // Micro clearfix: [Nicolas Gallagher](http://nicolasgallagher.com/micro-clearfix-hack/)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sammy-0.5.0 | app/assets/stylesheets/addons/_clearfix.scss |