css left right code example
Example 1: css right
.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 */;
}
Example 2: div shift right
<div style="position:absolute; right:10;">Hello world</div>
Example 3: css left
.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 */;
}