New! My 44-page ebook "CSS in 44 minutes" is out! 😃

Get it now →


Defines the position of the element according to its bottom edge.

default bottom: auto;

The element will remain in its natural position.

bottom: 20px;

If the element is in position relative, the element will move upwards by the amount defined by the bottom value.

bottom: 0;

If the element is in position absolute, the element will position itself from the bottom of the first positioned ancestor.