


Examples
Cards
Use padding to ensure content is not touching the edge of the card. This will make the card more visually appealing and easier to read. This is also easier to manage as opposed to applying width on each individual element within the card.
Pro tip
Avoid using padding instead of width for boxes. Width allows your element to resize responsively while maintaining a limit to prevent it from becoming too wide on larger screens. Padding is a hard pixel value that does not automatically get reduced and will cause your content to be squished on smaller devices.Shortcuts
While dragging the handles or inputs, hold the⌥ Option
or Alt
key to equally change padding on both sides of an element. Hold ⇧ Shift + ⌥ Option
or Alt
to equally change padding for all sides.
