From 185ddf1eaf82e08586be6c7689507ee924d9dd47 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 19 Aug 2022 13:15:48 +0000 Subject: update to bootstrap 5.2 and fixes --- .../site/content/docs/5.2/helpers/clearfix.md | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 vendor/twbs/bootstrap/site/content/docs/5.2/helpers/clearfix.md (limited to 'vendor/twbs/bootstrap/site/content/docs/5.2/helpers/clearfix.md') diff --git a/vendor/twbs/bootstrap/site/content/docs/5.2/helpers/clearfix.md b/vendor/twbs/bootstrap/site/content/docs/5.2/helpers/clearfix.md new file mode 100644 index 000000000..c888610b7 --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/5.2/helpers/clearfix.md @@ -0,0 +1,36 @@ +--- +layout: docs +title: Clearfix +description: Quickly and easily clear floated content within a container by adding a clearfix utility. +group: helpers +aliases: "/docs/5.2/helpers/" +--- + +Easily clear `float`s by adding `.clearfix` **to the parent element**. Can also be used as a mixin. + +Use in HTML: + +```html +
...
+``` + +The mixin source code: + +{{< scss-docs name="clearfix" file="scss/mixins/_clearfix.scss" >}} + +Use the mixin in SCSS: + +```scss +.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 >}} -- cgit v1.2.3