关于css:css-媒体查询

33次阅读

共计 419 个字符,预计需要花费 2 分钟才能阅读完成。

//x,xs
@media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) {

ion-content {--padding-bottom: 130px;}

}
// xr
@media only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) {

ion-content {--padding-bottom: 130px;}

}

// xs max
@media only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) {

ion-content {--padding-bottom: 130px;}

}

正文完
 0