Bootstrap - Spacing (Margin, Padding)

> (World Wide) Web - (W3|WWW) > Web - UI > Web UI - Bootstrap

1 - About

Padding and margin in the context of bootstrap.

3 - Syntax

{spaceType}{sides}-{size} 
  • For the other
{spaceType}{sides}-{breakpoint}-{size}

where:

  • spaceType is
    • p for padding
    • m for margin
  • sides is:
    • axis:
      • x (Left and right)
      • y (top & bottom)
    • position:
      • l: left
      • r: right
      • t: top
      • b: bottom
  • size is 0,1,2,3,4 or 5 (based on size scale)
Advertising

4 - Documentation / Reference

web/ui/bootstrap/spacing.txt · Last modified: 2019/06/20 12:02 by gerardnico