【发布时间】:2018-11-20 18:36:48
【问题描述】:
需要做出响应式布局。我添加了元视口,但仍然没有运气。或者根据屏幕尺寸缩小以禁用水平滚动条。
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
<body>
<div class='myIframe'>
<iframe height="800" frameborder="0" scrolling="no" width="466" src="EXAMPLE_WEBSITE"></iframe>
</div>
</body>
</html>
【问题讨论】:
标签: javascript jquery html css responsive-design