CSS right property
Usage
Used in conjunction with the position property to specify the position of the right side of an element.
Values
- auto - default; the browser calculates the element position
- [length] - sets the position of the right side of the element. Values can be positive or negative
- [percentage] - sets the position of the right of the element in % from the right hand edge of the window
Example
Code:
h2 {
position: relative;
right: 100px;
}