--- title: Padding status: Stable --- Padding utilities are based on a global [spacing scale](../../support/spacing) which helps keep horizontal and vertical spacing consistent. These utilities help us reduce the amount of custom CSS that could share the same properties, and allows to achieve many different page layouts using the same styles. {:toc} ## Shorthand Since padding utilities have many variations and will be used in many places, we use a shorthand naming convention to help keep class names succinct. | Shorthand | Description | | --- | --- | | p | padding | | t | top | | r | right | | b | bottom | | l | left | | x | horizontal, left & right | | y | vertical, top & bottom | | 0 | 0 | | 1 | 4px | | 2 | 8px | | 3 | 16px | | 4 | 24px | | 5 | 32px | | 6 | 40px | _**Note:** The blue in the examples below represents the element, and the green represents the padding._ ## Uniform padding Use uniform spacing utilities to apply equal padding to all sides of an element. These utilities can be used with a spacing scale from 0-6. ```html