Site Notice

hello, world

Progress

From Project-EPB Commons
Revision as of 19:26, 21 November 2019 by 机智的小鱼君 (talk | contribs) ([InPageEdit] 没有编辑摘要)

<html> <button onclick="start()">开始</button> <div class="progress">

 <div class="bar"></div>

</div>

<script>

</script> <style>

 .progress {
   width: 80%;
   margin: auto 10%;
   height: 1em;
   border: 1px solid #c5c5c5;
   padding: 2px;
 }
 .pregress .bar {
   height: 100%;
   width: 0%;
   background: #a3a2a2;
 }
 .progress .bar.done {
   width: 100%;
   transition: width 3s ease-in-out;
 }

</style>

</html>