科学健康资讯 · 内容仅供参考,不替代专业诊疗 联系我们|疾病百科
操作系统

margin top(margin top auto)

2023-06-06 操作系统 本文链接

限制UNIAPP H5 在电脑端显示大小 增加css代码如下

@media screen and (min-width: 768px) {

body,html,.container,.u-navbar,.diygw-bottom,.diygw-top{

max-width:750px !important;

margin:0 auto;

left:inherit !important;

right: inherit !important;

}

}

本文内容仅供健康科普参考,不能替代专业医疗诊断和治疗建议。如有身体不适,请及时就医并遵从医师指导。

相关阅读