in English
Clearfix
Cito et facile fluitasse contentum in vase addendo clarificam utilitatem.
Facile patet s elemento parentisfloat
addendo . Potest etiam adhiberi ut mixin..clearfix
<div class="clearfix">...</div>
// Mixin itself
@mixin clearfix() {
&::after {
display: block;
content: "";
clear: both;
}
}
// Usage as a mixin
.element {
@include clearfix;
}
Hoc exemplum patet quomodo manifestatio adhiberi potest. Sine clarifica involutione div involucris globulis quae fractis causarent extensionem non circumirent.
<div class="bg-info clearfix">
<button type="button" class="btn btn-secondary float-left">Example Button floated left</button>
<button type="button" class="btn btn-secondary float-right">Example Button floated right</button>
</div>