[英]How do I make the iframe resolution responsive to fully fit the iframe that it is in?
The image shows to iframes, sometimes I need to show 3 iframes. 该图片显示为iframe,有时我需要显示3个iframe。
My goal is to make it so that the iframes are all responsive inside. 我的目标是做到这一点,从而使iframe都在内部响应。
Here is my current css styling: 这是我当前的CSS样式:
iframe {
width: 100%;
height: 100%;
}
you can like this: 您可以这样:
if you have class,you can delete,the src is the page you want to display 如果您有课程,则可以删除,src是您要显示的页面
<iframe class="" src="" style="width:100%;height:100%;"></iframe>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.