css 媒体查询
文章目录
//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;
}}
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论