Answers for "margin example in css"

1

margin 30px auto

/* La propriété s'applique aux quatre côtés */
margin: 1em;

/* vertical | horizontal */
margin: 5% auto;

/* haut | horizontal | bas */
margin: 1em auto 2em;

/* haut | droit | bas | gauche */
margin: 2px 1em 0 auto;


/* Valeurs globales */
margin: inherit;
margin: initial;
margin: unset;
Posted by: Guest on January-31-2021
0

css code for margin

body {
  margin: 0px;
}
Posted by: Guest on September-08-2020

Browse Popular Code Answers by Language