2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

v5: Drop remaining deprecated mixins (#28461)

- Deletes mixin mentions from float docs
- Deletes mixin mention from visibility docs
- Deletes the image-replacement page for text-hide
This commit is contained in:
Mark Otto
2019-03-14 10:23:54 -07:00
committed by XhmikosR
parent c16532c724
commit 837ff0cc11
9 changed files with 0 additions and 105 deletions
-20
View File
@@ -10,32 +10,12 @@ toc: true
These utility classes float an element to the left or right, or disable floating, based on the current viewport size using the [CSS `float` property](https://developer.mozilla.org/en-US/docs/Web/CSS/float). `!important` is included to avoid specificity issues. These use the same viewport breakpoints as our grid system. Please be aware float utilities have no affect on flex items.
## Classes
Toggle a float with a class:
{{< example >}}
<div class="float-left">Float left on all viewport sizes</div><br>
<div class="float-right">Float right on all viewport sizes</div><br>
<div class="float-none">Don't float on all viewport sizes</div>
{{< /example >}}
## Mixins
Or by Sass mixin:
{{< highlight scss >}}
.element {
@include float-left;
}
.another-element {
@include float-right;
}
.one-more {
@include float-none;
}
{{< /highlight >}}
## Responsive
Responsive variations also exist for each `float` value.