If your <input>
is inside of another element (like a <div>
) that has position: relative;
set, the input will be positioned absolutely but in relation to that element.
Switch to position: fixed;
because that's relative to viewable screen area.