yannstatic/_sass/common/classes/_clearfix.scss

20 lines
185 B
SCSS
Raw Permalink Normal View History

2024-10-31 20:18:37 +01:00
@mixin clearfix() {
&::after {
display: table;
clear: both;
content: "";
}
}
.clearfix {
@include clearfix();
}
.left {
float: left;
}
.right {
float: right;
}