This repository has been archived on 2022-08-01. You can view files and clone it, but cannot push or open issues or pull requests.
Oldphaloskepsis/plugins/jetpack/scss/_utilities/_clearings.scss

22 lines
381 B
SCSS
Raw Normal View History

2017-01-12 23:10:07 +00:00
// ==========================================================================
// Clearings
//
// You can either use the mixin or @extend .clear.
// ==========================================================================
// The mixin
@mixin clearfix() {
&:before, &:after {
content: "";
display: table;
}
&:after {
clear: both;
}
}
%clearfix {
@include clearfix;
}