So I want to be able to scroll through my page while hovering over a div (the header) with position: fixed;
. Is there any (easy) way to do this?
I've found a similar question here, but in my case there are links (<a></a>
) inside that div and those should work, so pointer-events: none;
does not help in my case..
Thanks already!
This is my CSS for the header:
#header {
height: 90vh;
min-height: 80px;
max-height: 90vh;
background-color: rgb(30,30,30);
position: fixed;
top: 0;
left: 0;
box-shadow: 0 0 15px rgb(0,0,0);
z-index: 1;
}