【发布时间】:2013-05-09 09:42:38
【问题描述】:
我有三个divs 和这个谷歌地图iframe 代码与以下CSS:
#contact_map { border-radius: 200px; width: 320px; height: 320px; overflow: hidden; max-width: 100%; position: relative; right: 0px; }
#contact_map_fake { border-radius: 200px; width: 320px; height: 320px; top:0px;
box-shadow: inset 0px 3px 5px 1px rgba(0, 0, 0, .5); pointer-events:none; position: absolute; border: 1px solid rgba(255,255,255,.6);
}
#contact_map_container { border-radius: 200px; overflow: hidden; width: 320px; height: 320px; }
如何更改 CSS 以使其具有响应性,以便当我在 iPhone 上查看页面时地图跳转到另一个 divs 下?
【问题讨论】:
标签: html css iframe responsive-design