diff --git a/docs/utilities.md b/docs/utilities.md index 4d96c04b..b5adc49b 100644 --- a/docs/utilities.md +++ b/docs/utilities.md @@ -108,3 +108,91 @@ Additional `margin` or `padding` may be required to properly space content. {% endexample %} + +## Margin + +You have the option to set margin sizes from `0-5`. You also have the optional direction using `t,r,b,l,x,y`. + +{% example html %} +
.mr-0
+
.mr-1
+
.mr-2
+
.mr-3
+
.mr-4
+
.mr-5
+
.mx-5
+
.my-5
+
.m-2
+{% endexample %} + +## Padding + +You have the option to set padding sizes from `0-5`. You also have the optional direction using `t,b,x,y`. + +{% example html %} +
.pt-0
+
.pt-1
+
.pt-2
+
.pt-3
+
.pt-4
+
.pt-5
+
.p-3
+
.px-3
+
.py-3
+{% endexample %} + +## Positioning + +We include classes for setting positioning as well as setting the `top-0, right-0, bottom-0, left-0` to zero. Your options for positioning are `position-static, position-absolute, position-relative, position-fixed`. + +{% example html %} +
+ .position-relative +
.position-absolute.right-0.top-0
+
+{% endexample %} + +## Display + +You can set your display with these utilities. + +{% example html %} +.d-block +.d-inline +.d-inline-block +.d-none +{% endexample %} + +## Borders + +With these border utilities you can set common borders. + +{% example html %} +
.border
+
.border-top
+
.border-right
+
.border-bottom
+
.border-left
+{% endexample %} + +## Border colors + +Add these classes with `.border` and you'll have some common border colors. + +{% example html %} +
.border-blue
+
.border-gray-light
+
.border-gray-dark
+{% endexample %} + +## No borders + +To remove a border from one side you can use `-0` postfix. + +{% example html %} +
.border-0
+
.border-top-0
+
.border-right-0
+
.border-bottom-0
+
.border-left-0
+{% endexample %}