Site Notice
hello, world
Progress
From Project-EPB Commons
<html> <button onclick="$('.progress').addClass('done')">开始</button> <button onclick="$('.progress').removeClass('done')">重置</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; }
.progress .bar { height: 100%; background: #a3a2a2; }
.progress.done .bar { width: 100%; margin: auto 0; background: green; }
</style>
</html>