Tuesday, August 22, 2017

margin

Margin example
Margin example, except right set all to auto
margin is used to generate space around an element. auto - the browser calculates the margin margin property to auto to horizontally center the element within its container.
Without margin example
Second element without margin
Margin with two attributes

No comments:

Post a Comment

outline

Outline example