Example

A simple bottom property example:

Laboratory

description & Usage

We use the bottom property to make a button.

Informations

# Description
Default Value auto
Inherited no
Animatable yes
Version CSS2
JavaScript syntax object.style.bottom="10px"

Browser compatibility and Support

# Chrome Edge Firefox Safari Opera
bottom

Syntax

Values

Values Description
auto It puts the bottom edge calculation on the browser.
length Sets the position of the bottom edge in centimeters and pixels.
% Adjusts the position of the bottom edge in percentage of the corresponding tag.
initial Adds this value to its default property.
inherit It inherits this value from its parent tag.