Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

margin css

/* Apply to all four sides */
margin: 1em;
margin: -3px;

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

/* top | horizontal | bottom */
margin: 1em auto 2em; 

/* top | right | bottom | left */
margin: 2px 1em 0 auto;

/* Global values */
margin: inherit;
margin: initial;
margin: unset;
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #margin #css
ADD COMMENT
Topic
Name
6+6 =