这个是自定义华为屏幕的:432 X 600
@media screen and (min-width: 430px) and (max-width: 500px){
.indextop{
height:33vh;
}
.index-search button{
line-height: 55rpx;
}
}
顺便说一下,好像iphoneX 800px高度 媒体查询也不起效果
框架类型 | 问题类型 | 操作系统 | 工具版本 |
---|---|---|---|
小程序 | Bug | Windows | v1.02 |
这个是自定义华为屏幕的:432 X 600
@media screen and (min-width: 430px) and (max-width: 500px){
.indextop{
height:33vh;
}
.index-search button{
line-height: 55rpx;
}
}
顺便说一下,好像iphoneX 800px高度 媒体查询也不起效果
2 个回答
查看右边CSS就能看出来,第一张图,就是华为屏幕432 X 600无效果的,第三张图是在代码片段里有效果???
第二张图是我调节右下角的效果,第四张图就是说明高度800尺寸iphoneX的媒体查询无效~
麻烦提供代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)