This describes the horizontal offset for the right edge of the absolutely positioned element box from the right edge of the element's containing block. For relatively positioned boxes, the offsets are relative to where the box would appear normally in the document flow. Positive values are to the left of the parent block's right edge and negative values are to the right.
h2 {
display: block;
position: absolute;
top: 20px;
right: 50px;
bottom: 20px;
left: 50px
}
content