bottom
Sets the vertical distance between the bottom edge of a positioned element and the bottom edge of its containing block.
It is documented as part of the CSS Anchor Positioning, CSS Positioned Layout specification.
Syntax
/* Usage Example */
.footer-bar {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
/* sticks the bar to the very bottom of the screen */
}
/* Syntax */
bottom: auto;
bottom: anchor;
bottom: anchor-size;
/* Global values */
bottom: inherit;
bottom: initial;
bottom: revert;
bottom: revert-layer;
bottom: unset;
bottom Browser support
Widely available
Since
2015 96% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.
1+
1+
1+
12+