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