Home >  Blossary: Basics of CSS  >  Term: padding
padding

The padding shorthand property sets all the padding properties in one declaration. This property can have from one to four values.

Examples:

padding:10px 5px 15px 20px;

top padding is 10px

right padding is 5px

bottom padding is 15px

left padding is 20px.

0 0

Basics of CSS

Category: Education

Total terms: 12

Other terms in this blossary

Creator

  • Bagar
  •  (Silver) 753 points
  • 100% positive feedback
© 2024 CSOFT International, Ltd.