The spacer functions include these measurements:
- 0.5 => m-*-h
- 1 => m-*-1
- 1.5 => m-*-1h
- 2 => m-*-2
- 3 => m-*-3
- 4 => m-*-4
- 5 => m-*-5
// Spacer | |
// | |
// Control the default styling of most Bootstrap elements by modifying these | |
// variables. Mostly focused on spacing. | |
$spacer: 1rem !default; | |
$spacer-x: $spacer !default; | |
$spacer-y: $spacer !default; | |
$spacers: ( | |
0: ( | |
x: 0, | |
y: 0 | |
), | |
h: ( | |
x: ($spacer-x * 0.5), | |
y: ($spacer-y * 0.5) | |
), | |
1: ( | |
x: $spacer-x, | |
y: $spacer-y | |
), | |
1h: ( | |
x: ($spacer-x * 1.5), | |
y: ($spacer-y * 1.5) | |
), | |
2: ( | |
x: ($spacer-x * 2), | |
y: ($spacer-y * 2) | |
), | |
3: ( | |
x: ($spacer-x * 3), | |
y: ($spacer-y * 3) | |
), | |
4: ( | |
x: ($spacer-x * 4), | |
y: ($spacer-y * 4) | |
), | |
5: ( | |
x: ($spacer-x * 5), | |
y: ($spacer-y * 5) | |
), | |
) !default; | |
$border-width: thin !default; |