摘要:
H5适配iphoneX底部 在index.html中设置meta属性,在content下设置关键值 viewport-fit=cover,使得页面内容完全覆盖整个窗口 固定位置 .bottomBar{ width: 100%; position: fixed; bottom: 0; backgrou 阅读全文
摘要:
锚点定位 <!-- 页面内的跳转 --> <a href="#id">跳转</a> <!-- 新页面的跳转 --> <a href="a.html#id">跳转</a> js实现 // id格式#test,.class document.querySelector(id).scrollIntoVie 阅读全文