From 0c0ba20bc7276a5cf597ebad2c87181ad6692513 Mon Sep 17 00:00:00 2001 From: Jonathan Reinink Date: Mon, 30 Oct 2017 07:13:10 -0400 Subject: [PATCH] Add badges + cheatsheet table for float docs --- docs/source/styles/floats.blade.md | 57 ++++++++++++++++++++++++++++++ docs/source/styles/floats.md | 12 ------- 2 files changed, 57 insertions(+), 12 deletions(-) create mode 100644 docs/source/styles/floats.blade.md delete mode 100644 docs/source/styles/floats.md diff --git a/docs/source/styles/floats.blade.md b/docs/source/styles/floats.blade.md new file mode 100644 index 000000000..5f18935d4 --- /dev/null +++ b/docs/source/styles/floats.blade.md @@ -0,0 +1,57 @@ +--- +extends: _layouts.markdown +title: "Floats" +--- + +# Floats + +
+ Utilities for controlling the wrapping of content around an element. +
+ +@include('_partials.feature-badges', [ + 'responsive' => true, + 'customizable' => false, + 'hover' => false, + 'focus' => false +]) + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassPropertiesDescription
.float-rightfloat: right;Moves the element to the right side of its container.
.float-leftfloat: left;Moves the element to the left side of its container.
.float-nonefloat: none;Removes any previously defined float value.
.clearfix + &:after {
+   content: "";
+   display: table;
+   clear: both;
+ } +
Clear any floats within an element.
+
diff --git a/docs/source/styles/floats.md b/docs/source/styles/floats.md deleted file mode 100644 index 4d160fa66..000000000 --- a/docs/source/styles/floats.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -extends: _layouts.markdown -title: "Floats" ---- - -# Floats - -