我不知道爲什麼我的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