【发布时间】:2014-11-30 15:09:37
【问题描述】:
对相同宽度和不同高度应用媒体查询的最佳方式?
例如我有这个示例代码
@media screen and (max-width: 1366px), screen and (max-height: 657px){
article#chapterthankyou{
width:984px;
}
}
和
@media screen and (max-width: 1366px), screen and (max-height: 768px){
article#chapterthankyou{
width:1048px;
}
}
问题是,即使在1366 X 657 上应用了article#chapterthankyou{
width:984px;
} 样式。
如何准确应用高度宽度条件?谢谢
【问题讨论】:
标签: css responsive-design media-queries