/usr/share/doc/libjs-bootstrap4/utilities
NameSizeModeActions
borders.md24630644editdlrm
clearfix.md9160644editdlrm
close-icon.md3650644editdlrm
colors.md27410644editdlrm
display.md39710644editdlrm
embed.md19160644editdlrm
flex.md.gz28520644editdlrm
float.md17060644editdlrm
image-replacement.md9680644editdlrm
interactions.md8140644editdlrm
overflow.md10060644editdlrm
position.md14150644editdlrm
screen-readers.md5960644editdlrm
shadows.md7400644editdlrm
sizing.md21790644editdlrm
spacing.md40430644editdlrm
stretched-link.md.gz14960644editdlrm
text.md.gz15370644editdlrm
vertical-align.md12790644editdlrm
visibility.md9140644editdlrm
Edit: /usr/share/doc/libjs-bootstrap4/utilities/clearfix.md (916B)
--- layout: docs title: Clearfix description: Quickly and easily clear floated content within a container by adding a clearfix utility. group: utilities --- Easily clear `float`s by adding `.clearfix` **to the parent element**. Can also be used as a mixin. ```html
...
``` ```scss // Mixin itself @mixin clearfix() { &::after { display: block; content: ""; clear: both; } } // Usage as a mixin .element { @include clearfix; } ``` The following example shows how the clearfix can be used. Without the clearfix the wrapping div would not span around the buttons which would cause a broken layout. {{< example >}}
{{< /example >}}