Inicio >  Blossary: Basics of CSS  >  Term: margin
margin

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

Examples:

margin:10px 5px 15px 20px;

top margin is 10px

right margin is 5px

bottom margin is 15px

left margin is 20px

margin:10px 5px 15px;

top margin is 10px

right and left margins are 5px

bottom margin is 15px

margin:10px 5px;

top and bottom margins are 10px

right and left margins are 5px

margin:10px;

all four margins are 10px.

0 0

Basics of CSS

Categoría: Education

Cantidad total de términos: 12

Other terms in this blossary

Creador

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