padding

Term side of the Card
Topic: Sizes & Margins
Unit title: padding
Categories: Property
Explanation side of the Card

Explanation: The property that sets the space between the content of an element and its border. It can be applied to all sides of an element or individually for each side using `padding-top`, `padding-right`, `padding-bottom` and `padding-left`. It helps create internal spacing within the element without affecting its border or margins.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 1
Availability: