Calculates the cursor's relative position within the visible viewport (0 = top, 1 = bottom) Scrolls the viewport by ~90% of its height in the requested direction Repositions the viewport so the cursor ...
To use positioning on an element, you must first declare its position property to be absolute or relative: H1 { position: absolute } Then you can add whatever ...