Glossary Term
right
The right CSS property participates in specifying the horizontal position of a positioned element. This inset property has no effect on non-positioned elements.
The effect of right depends on how the element is positioned (i.e., the value of the position property):
When position is set to absolute or fixed, the right property specifies the distance between the element’s outer margin of right edge and the inner border of the right edge of its containing block. If the positioned element has an associated anchor element, and the property value includes an anchor() function, right positions the right edge of the positioned element relative to the specified <anchor-side> edge. The right property is compatible with the left, right, start, end, self-start, self-end, center, and <percentage> values. When position is set to relative, the right property specifies the distance the element’s right edge is moved to the left from its normal position. When position is set to sticky, the right property is used to compute the sticky-constraint rectangle. When position is set to static, the right property has no effect.
Syntax example: right: 3px;
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
