摘要: let counteDate = new Date("jul 1, 2027 00:00:00").getTime(); function countDown(){ let now = new Date().getTime() gap = counteDate-now let seconds = 1 阅读全文
posted @ 2022-08-16 21:15 指尖掠过 阅读(228) 评论(0) 推荐(0)
摘要: html与css部分 <style> *{ margin: 0; padding: 0; box-sizing: border-box; } body{ overflow: hidden; } .container{ min-height: 100vh; background-image: line 阅读全文
posted @ 2022-08-16 19:25 指尖掠过 阅读(189) 评论(0) 推荐(0)
摘要: JS <script> const wrapper = document.querySelector(".wrapper") header = wrapper.querySelector('header') function onDrag({movementX,movementY}){ // win 阅读全文
posted @ 2022-08-16 16:22 指尖掠过 阅读(25) 评论(0) 推荐(0)