Style bottom Property
Style bottom Property
The bottom property is used to either set or return the bottom position of a positioned element. It is used for specifying the bottom positions of elements including padding, margins, and border.
Syntax:-
Its syntax is:- object.style.bottom OR object.style.bottom = auto|length|%|initial|inherit
Return:-
Its return is:- string having bottom position of a positioned element
Further Explanation:-
Value | Description |
---|---|
auto | Allow browser to set bottom position. |
length | Defines the bottom position in length units. |
% | Sets the bottom position in % of the height of the parent element |
initial | Sets property to its default value. |
inherit | Inherits property from its parent element. |