I know I can prevent a page from scrolling using:
body {
position: fixed;
overflow: hidden;
}
But I need these styles to be applied when the user is hovering over a div
on my page.
Is there a way to apply styles to the body like this - from inside a hover?