0

how to define css for iframe

How do I define a css code that on hover on the iframe, the page in the iframe will automatically scroll and the page will be disabled from clicking it content

21st Jul 2020, 1:14 PM
Emmanuel Akinwumi
Emmanuel Akinwumi - avatar
1 Resposta
+ 9
<iframe scrolling="auto | yes | no"> Attribute Values auto: It has a default value. The scrollbar appears when needed. yes: This value shows the scrollbar in the Iframe Element. no: This value does not show the scrollbar in the Iframe Element. Example: <!DOCTYPE html> <html> <body>     <h1>     GeeksForGeeks     </h1>     <h2>         HTML Iframe scrolling Attribute     </h2>     <p>Content goes here</p>     <iframe src="https://ide.geeksforgeeks.org/tryit.php"              height="300"              width="400"              marginwidth="50"              scrolling="no">     </iframe> </body> </html>
21st Jul 2020, 2:24 PM
Khalid Shaikh
Khalid Shaikh - avatar