js倒计时

 

 

<span class="hour">1</span>
<span class="minute">2</span>
<span class="second">3</span>


<script>
  //获取元素
  var hour = document.querySelector('.hour');
  var minute = document.querySelector('.minute');

 var
second = document.querySelector('.second');

</script>

 

 

 

 

 

 

 

posted @ 2020-06-23 22:48  AngDH  阅读(158)  评论(0编辑  收藏  举报