From aaff11a0b321e7c1b93c089e709ee92d01a4b6f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Poupard?= Date: Tue, 9 Jun 2020 16:44:20 +0300 Subject: docs(examples): new cheatsheet and RTL examples --- site/content/docs/5.0/utilities/float.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'site/content/docs/5.0/utilities/float.md') diff --git a/site/content/docs/5.0/utilities/float.md b/site/content/docs/5.0/utilities/float.md index 7acec97829..4d27c00d2b 100644 --- a/site/content/docs/5.0/utilities/float.md +++ b/site/content/docs/5.0/utilities/float.md @@ -11,8 +11,8 @@ 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 effect on flex items. {{< example >}} -
Float left on all viewport sizes

-
Float right on all viewport sizes

+
Float start on all viewport sizes

+
Float end on all viewport sizes

Don't float on all viewport sizes
{{< /example >}} @@ -21,10 +21,10 @@ These utility classes float an element to the left or right, or disable floating Responsive variations also exist for each `float` value. {{< example >}} -
Float left on viewports sized SM (small) or wider

-
Float left on viewports sized MD (medium) or wider

-
Float left on viewports sized LG (large) or wider

-
Float left on viewports sized XL (extra-large) or wider

+
Float start on viewports sized SM (small) or wider

+
Float start on viewports sized MD (medium) or wider

+
Float start on viewports sized LG (large) or wider

+
Float start on viewports sized XL (extra-large) or wider

{{< /example >}} Here are all the support classes: @@ -32,8 +32,8 @@ Here are all the support classes: {{< markdown >}} {{< float.inline >}} {{- range $.Site.Data.breakpoints }} -- `.float{{ .abbr }}-left` -- `.float{{ .abbr }}-right` +- `.float{{ .abbr }}-start` +- `.float{{ .abbr }}-end` - `.float{{ .abbr }}-none` {{- end -}} {{< /float.inline >}} -- cgit v1.2.3