我有一个媒体查询其早该一个div的大小改变从100%到固定2000像素。他们在不同的样式表中。CSS规则不被认可?
在头contact.css高于styles.css的 这里是看不到的规则控制台的图像,它甚至不通过罢工表现出来:https://gyazo.com/dd140a95ed8a7d3454f5568a86f49bdc
(在此图像中,浏览器的大小已经减小到小于700像素)
contact.html:
<link rel="stylesheet" href="css/contact.css">
<link rel="stylesheet" href="css/styles.css">
contact.css:
Styles.css中10媒体查询:
@media screen and (max-width: 700px) {
#pageC {
height: 2000px;
margin-top: 120px;
}
}
不知道我怎么没看到。非常感谢 – Xander