CSS Bottom Property

CSS 1

CSS 2

CSS 3

No Yes Yes

Description

Specifies the distance between the element's bottom edge and the bottom edge of the containing block.

Syntax

bottom: [value];

Possible values

  • [length]
  • [percentage]
  • auto
  • inherit

Initial Value

Auto

Applies To

Positioned elements

Inherited

No

Media

Visual

Example

h1 {display: block; position: absolute;
top: 40px; right: 75px; bottom: 10px; left: 75px}


View All CSS Properties