Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css prevent scrolling behind overlay

/* Add a 'noscroll' class using JS */
body.noscroll{
    overflow:hidden;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #css #prevent #scrolling #overlay
ADD COMMENT
Topic
Name
3+6 =