I have a div element which isn’t at the top, but rather in the middle of the page.
I would like it to get fixed to the top of the browser when I scroll down to it.
How can I achieve that? especially the event for it.
Thanks.
I have a div element which isn’t at the top, but rather in the
Share
1 Answer