progress bar testing
HTML
<progress value="70" max="100" id="pro">70 %</progress>
<p id="ptag">
normal p tag
</p>
CSS
#p {
-webkit-appearance: progress-bar;
}
#ptag {
border: 5px solid red !important;
}
JavaScript
var styles = getComputedStyle(ptag);
for(let i in styles) {
if (isNaN(Number(i))) {
pro.style[i] = styles[i];
}
}