Answers for "overlay prevent scrolling"

CSS
0

css prevent scrolling behind overlay

/* Add a 'noscroll' class using JS */
body.noscroll{
    overflow:hidden;
}
Posted by: Guest on February-25-2021

Code answers related to "overlay prevent scrolling"

Browse Popular Code Answers by Language