According to W3C : “The 'margin' property is a shorthand property for setting 'margin-top', 'margin-right', 'margin-bottom', and 'margin-left' at the same place in the style sheet” respectively. Here’s the example W3C used to illustrate the order of properties in the shorthand: margin: 10px 20px 30px 40px;
Top padding is 10px, right padding is 20px, bottom padding is 30px, left padding is 40px.
If you’re like me, used to CSS, you will have a problem getting adjusted to the margin property...(read more)
↧