static
relative

top: 30px;
right: 20px;
sticky

top: 20px;
fixed

left: 280px;

Try scrolling this example to see the effect of fixed or sticky positioning.

With fixed positioning, the element does not move as the viewport scrolls.

With sticky positioning, the element moves until it reaches a threshold: in this case 20 pixels from the top of the container.

The other two boxes show the effect of static and relative positioning.