Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
9f5f53ac
Commit
9f5f53ac
authored
9 years ago
by
Chris Rebert
Browse files
Options
Download
Plain Diff
Merge pull request #18637 from davidjb/v4-fix-utils-doc
Fix bulleted lists on Utilities doc
parents
96e92050
7efd6280
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/components/utilities.md
+3
-0
docs/components/utilities.md
with
3 additions
and
0 deletions
+3
-0
docs/components/utilities.md
+
3
-
0
View file @
9f5f53ac
...
@@ -18,10 +18,12 @@ Assign `margin` or `padding` to an element or a subset of its sides with shortha
...
@@ -18,10 +18,12 @@ Assign `margin` or `padding` to an element or a subset of its sides with shortha
The classes are named using the format:
`{property}-{sides}-{size}`
The classes are named using the format:
`{property}-{sides}-{size}`
Where
*property*
is one of:
Where
*property*
is one of:
*
`m`
- for classes that set
`margin`
*
`m`
- for classes that set
`margin`
*
`p`
- for classes that set
`padding`
*
`p`
- for classes that set
`padding`
Where
*sides*
is one of:
Where
*sides*
is one of:
*
`t`
- for classes that set
`margin-top`
or
`padding-top`
*
`t`
- for classes that set
`margin-top`
or
`padding-top`
*
`b`
- for classes that set
`margin-bottom`
or
`padding-bottom`
*
`b`
- for classes that set
`margin-bottom`
or
`padding-bottom`
*
`l`
- for classes that set
`margin-left`
or
`padding-left`
*
`l`
- for classes that set
`margin-left`
or
`padding-left`
...
@@ -31,6 +33,7 @@ Where *sides* is one of:
...
@@ -31,6 +33,7 @@ Where *sides* is one of:
*
`a`
- for classes that set a
`margin`
or
`padding`
on all 4 sides of the element
*
`a`
- for classes that set a
`margin`
or
`padding`
on all 4 sides of the element
Where
*size*
is one of:
Where
*size*
is one of:
*
`0`
- for classes that eliminate the
`margin`
or
`padding`
by setting it to
`0`
*
`0`
- for classes that eliminate the
`margin`
or
`padding`
by setting it to
`0`
*
`1`
- (by default) for classes that set the
`margin`
or
`padding`
to
`$spacer-x`
or
`$spacer-y`
*
`1`
- (by default) for classes that set the
`margin`
or
`padding`
to
`$spacer-x`
or
`$spacer-y`
*
`2`
- (by default) for classes that set the
`margin`
or
`padding`
to
`$spacer-x * 1.5`
or
`$spacer-y * 1.5`
*
`2`
- (by default) for classes that set the
`margin`
or
`padding`
to
`$spacer-x * 1.5`
or
`$spacer-y * 1.5`
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment