diff --git a/docs/source/position.blade.php b/docs/source/position.blade.php index 41df464f8..d607b1237 100644 --- a/docs/source/position.blade.php +++ b/docs/source/position.blade.php @@ -4,4 +4,42 @@
The position utilities are primarily position display property helpers.
Using the utilities in HTML:
+ +{{ '
+
+' }}
+
+Using the utilities in Less:
+ +div {
+ .fixed;
+ .absolute;
+ .relative;
+}
+
+Tailwind also provides pin utilties, useful for "pinning" absolutely positioned elements using the top, right, bottom and left properties.
Using the utilities in HTML:
+ +{{ '
+
+' }}
+
+Using the utilities in Less:
+ +div {
+ .pin-t
+ .pin-r
+ .pin-b
+ .pin-l
+ .pin-y
+ .pin-x
+ .pin
+}
+
@endsection