To disable scroll on an HTML iframe with CSS, we set the overflow
property and the scrolling
attribute.
For instance, we write
<iframe src="" scrolling="no"></iframe>
to set the scrolling
attribute to no
.
And we write
iframe {
overflow: hidden;
}
to hide the scrollbars with overflow: hidden;
.