有谁知道为什么我的媒体查询代码不起作用?谢谢!
@media only screen and (min-width:450px){
.dark-blue{
width: 25%;
}
.blue{
width: 75%;
}
}
更多细节在我的github https://github.com/kmfb/udacityProjects/tree/master/column%20drop
最佳答案
只需将 @media
移动到 css 页面的底部即可。
检查工作示例。
干杯,
https://jsfiddle.net/frc7r123/
关于html - 我的媒体查询不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47221789/