CSS媒体查询未应用

时间:2016-07-18 04:48:50

标签: css

This site使用包含媒体查询的样式表http://staging.taxrusaccounting.com.au/wp-content/themes/bones-new/library/css/style.css

@media only screen and (min-width: 768px) {
    .nav li {
      float: left;
      position: relative;
    }
}

但是,当视口宽度超过768像素时,Chrome Inspector中不存在.nav li规则。

帮助表示赞赏。

1 个答案:

答案 0 :(得分:1)

发现错字

@media screen and (max-width: 600px} {

应该是:

@media screen and (max-width: 600px) {
相关问题