
An animated test tube style progress bar written in pure CSS.
See it in action:
How to use it:
1. Load the main stylesheet test-tube.css in the document.
<link rel=”stylesheet” href=”dist/test-tube.css” />
2. The required HTML structure for the test tube.
<div class="tube">
<div class="shine"></div>
<div class="body">
<div class="liquid">
<div class="percentage"></div>
</div>
</div>
<div class="meter">
<div>100</div>
<div>80</div>
<div>60</div>
<div>40</div>
<div>20</div>
</div>
<div class="bubbles">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>3. Override the default percentage value in the CSS.
:root {
--tube-percentage: 80%;
--tube-title: "80%";
--tube-color: #9198e5;
}





