2020年5月29日
摘要: 1、css实现宽度是百分比的盒子为正方形 <div style="width:50%;padding-bottom:50%;height:0px;background:#ccc;"></div> 2、手机端判断是横屏还是竖屏 function checkOrient() { if (window.o 阅读全文
posted @ 2020-05-29 12:38 正在输入中 阅读(121) 评论(0) 推荐(0) 编辑