2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

new toc in utils and about and extend

This commit is contained in:
Mark Otto
2017-05-28 11:25:59 -07:00
parent c72cc98bd5
commit f682dec5c2
17 changed files with 37 additions and 41 deletions
+4 -5
View File
@@ -1,16 +1,15 @@
---
layout: docs
title: Spacing
description: Bootstrap includes a wide range of shorthand responsive margin and padding utility classes to modify an element's appearance.
group: utilities
toc: true
---
## How it works
Assign responsive-friendly `margin` or `padding` values to an element or a subset of its sides with shorthand classes. Includes support for individual properties, all properties, and vertical and horizontal properties. Classes are built from a default Sass map ranging from `.25rem` to `3rem`.
## Contents
* Will be replaced with the ToC, excluding the "Contents" header
{:toc}
## Notation
Spacing utilities that apply to all breakpoints, from `xs` to `xl`, have no breakpoint abbreviation in them. This is because those classes are applied from `min-width: 0` and up, and thus are not bound by a media query. The remaining breakpoints, however, do include a breakpoint abbreviation.