Answers for "stop body from scrolling css"

4

javascript disable scrolling on body

document.body.style.overflow = 'hidden';
Posted by: Guest on August-17-2020
0

css prevent background scrolling

<body scroll="no" ></body>

or css

background-attachment: fixed;
Posted by: Guest on July-20-2020

Code answers related to "stop body from scrolling css"

Code answers related to "Javascript"

Browse Popular Code Answers by Language