You can prevent scrolling in CSS by using the property “overflow” and setting it to “hidden”.
```
body {
overflow: hidden;
}
```
This property sets what happens when the content overflows an element’s box.
The “hidden” value essentially enables you to turn off the scroll bar. However, the content is still scrollable programmatically using JavaScript.
Remember to use this property wisely, as disabling the scroll can be very annoying to the users and makes a large part of the content inaccessible.