.right { position: fixed; /* the fixed pos makes it work */ right: /*how much you want to move it right put % or px or rem at end of the amount */; }
This div has relative positioning.
Test Hello World
.right { position: fixed; /* the fixed pos makes it work */ left: /*how much you want to move it left put % or px or rem at end of the amount */; }