摘要: 1、第一种 修改image的vertical-align为非默认值(middle/top/bottom) img{ vertical-align:top; }(推荐) 2、第二种 img{ display:block; }(不推荐) 3、第三种 img的父标签添加属性:font-size:0; XX 阅读全文
posted @ 2021-09-29 16:25 虚无——缥缈 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 获取格式为yy-mm-dd的时间 var now=new Date(); function getTimeFun(now){ let year = now.getFullYear(); let month = ((now.getMonth()+1)<10?"0":"") + (now.getMont 阅读全文
posted @ 2021-09-29 08:55 虚无——缥缈 阅读(69) 评论(0) 推荐(0) 编辑