+ 2
Can I use percent % in the progress tag instead of just the value. I tried this it didn't work though any suggestions please?
2 Antworten
0
Hi omojola
Youc an only style using percentage like this
css
progress {
text-align: center;
}
progress:after {
content: attr(value)'%';
}
html
<progress max="100" value="26"></progress><br/>
<progress max="100" value="50"></progress><br/>
<progress max="100" value="73"><span></span></progress>
0
Thanks Mike