0
我有個小問題:媒體功能,不起作用?
我做網站的版本iPhone 5
但是這個代碼:
@media screen and (max-devise-width:568px) and (device-aspect-ratio: 2730/1000) and (-webkit-min-device-pixel-ratio: 2){
}
不工作,而這段代碼:
@media screen and (max-devise-width:568px)
作品,但我想補充device-aspect-ratio
和-webkit-min-device-pixel-ratio
max-'devise'-width:是否是拼寫錯誤? – fcalderan
是的,對不起max-width:568px –
您是否嘗試過'(device-aspect-ratio:2730/1000)'來查看它是否匹配任何東西? – cimmanon