mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-24 11:07:14 +00:00
aadb22ffcf
- Add Bourbon and Neat
23 lines
515 B
SCSS
23 lines
515 B
SCSS
// Modern 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 {
|
|
&:after {
|
|
content:"";
|
|
display:table;
|
|
clear:both;
|
|
}
|
|
}
|
|
|
|
// Acknowledgements
|
|
// Beat *that* clearfix: [Thierry Koblentz](http://www.css-101.org/articles/clearfix/latest-new-clearfix-so-far.php)
|