有没有办法在Frameset元素上应用Media Queries来使网站移动响应?

时间:2014-05-15 04:57:48

标签: html responsive-design media-queries

实际上我正在努力使我的桌面网页具有移动响应能力。

  <frameset rows="80,*" frameborder="no" border="0" framespacing="0">
    <frame src="/showTopFrame.do" name="topFrame" scrolling="no" noresize="">
    <frameset cols="20%,80%*" frameborder="0" framespacing="0" border="0">
    <frame src="/showLeftNav.do" name="menu" marginheight="0" marginwidth="0" noresize="true" scrolling="auto" framespacing="0" border="0" frameborder="0">
    <frame src="/blank.html" name="information" marginheight="0" marginwidth="0" scrolling="auto" framespacing="0" border="0" frameborder="0">
    </frameset>
    </frameset>

enter image description here

如果我可以通过媒体查询或任何其他简单方式实现此目的,请帮助我。

1 个答案:

答案 0 :(得分:0)

您可以使用css中的媒体查询来实现此目的。

像这样:

@media (max-width: 600px) {


}

您可以找到有关此here

的更多信息
相关问题