We use cookies to improve your experience. Learn more in our Privacy policy.
left
The top property defines the horizontal position of an element that has position property set.
Example
Initial value | auto |
Applies to | positioned elements |
Syntax
left: 10px;
Values
The distance from the top of the container element.
Percentage from the top of the container element.
Browser support
left | 1 | 12 | 1 | 5.5 | 5 | 1 |