MARGIN Property In CSS

margin Property in CSS

margin property Shorthand property used to declare all the margin properties at once.

Possible Value:

Separate values by a space in the following order (those that are not defined will use inherited or default initial values): margin-top margin-right margin-bottom margin-left

Example

div { margin:5px 12px 4px 7px; } div { margin:5px; } div { margin:5px 10px; } div { margin:5px 7px 4px; }

Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad