borlum 5 years ago

Or just use:

position: sticky; top: 10px