I\'m looking for a trick to create a \"fixed\" HTML object on the browser screen using CSS. I want it to stay in the same position all the time, even when the user scrolls t
position: sticky;
The sticky element sticks on top of the page (top: 0) when you reach its scroll position.
See example: https://www.w3schools.com/css/tryit.asp?filename=trycss_position_sticky