+ 3
How to change color of progress in the program??
3 odpowiedzi
+ 3
not working
+ 1
html
<progress max="100" value="80" class="barra"></progress>
css
.barra {
background-color: gold;
}
0
html
<progress max="100" value="80" ></progress>
css
progress { background-color: #f3f3f3; border: 1px; height: 38px; width: 200px; border-radius: 9px; color: #000000;}
/* Safari Chrome */
progress::-webkit-progress-bar { background-color: #f3f3f3; border-radius: 9px;}
progress::-webkit-progress-value { background: #cb5700; border-radius: 9px;}
/* firefox */
progress::-moz-progress-bar { background: #cb5700; border-radius: 9px;}