CSS Margin Bottom Property

Last Updated Jul 21, 2015, 12:00:06 PM





CSS Margin Bottom

The margin-bottom CSS property sets the margin space required on the bottom of an element.

A negative value is also allowed.

Syntax

Definition and Usage

Initial Value 0
Applies to all elements. It also applies to ::first-letter and ::first-line.
Inherited no
Percentages refer to the width of the containing block
Media Visual
Computed Value the percentage as specified or the absolute length
Animatable Yes, as a length
Canonical Order The unique non-ambiguous order defined by the formal grammer
Example
Try It Now

Browser compatibility
Feature
Basic support 1.0 1.0 (1.7 or earlier) 1.0 3.5 3.0 1.0 1.0


Other Advanced CSS Margin Properties you might want to Learn

CSS margin-right property

CSS margin-top property

CSS margin-top property





Sources and Credits

The source of the content has been referred and updated with Mozilla Foundation and W3C Organization

Last Updated Jul 21, 2015, 12:00:06 PM