bottom
Sets the vertical distance between the bottom edge of a positioned element and the bottom edge of its containing block.
Quick example
.footer-bar {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
/* sticks the bar to the very bottom of the screen */
} Quick facts
Initial value
autoInherited
No
Applies to
positioned elements
Animation type
lpc
Values
autoanchoranchor-size 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.
Safe to use without fallbacks.
1+
1+
1+
12+