【发布时间】:2013-05-04 16:02:28
【问题描述】:
This is the website, and more specifically, the page.
我目前正在开发一个响应式主题,其中包含媒体查询,但我所做的 CSS 修改导致菜单(右上角为金色)和侧边栏(这只存在于博客中)页面,但很重要......它是内容块右侧的框)与标题/标题/左侧内容合并。它显示在 ipad mini 和普通 ipad 4 上,但在 android 浏览器屏幕上还可以。您可以通过调整浏览器大小来观察问题。
@media only screen and (min-width:768px) {
.site-navigation .nav-menu {
display: block;
}
}@media only screen and (max-width:767px) {
.menu-toggle {
display: block;
}
}@media only screen and (min-width:768px) and (max-width:959px) {
.wrap {
max-width: 728px;
}
那是媒体屏幕 css。各个div都相对定位。有没有人对如何解决这个问题有任何建议?有什么代码花絮吗?
【问题讨论】:
标签: css responsive-design media-queries media