我不知道为什么我的CSS media
查询工作不正常:CSS不承认最小宽度媒体查询
/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
.bottom-right{margin-top:20%;}
.bottom-right h2{font-size: 0.9em;}
.buttons{font-size: 1.0em;}
}
/* Medium Devices, Desktops */
@media only screen and (min-width : 993px) {
.solodesktop{display:block;}
.solomobile{display:none;}
.bottom-right{margin-top:10%;}
.bottom-right h2{font-size: 7em;}
.buttons{font-size: 0.8em;}
}
在页面,.bottom-right
类的margin-top
属性不一个应用上限为20%。
似乎是合法的,但doesen't worjk :-( –
我犯了一个错字,它的1199px ofc。现在试试吧 – Roman