+ 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?

3rd Apr 2018, 4:05 PM
omojola
omojola - avatar
2 Answers
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>
3rd Apr 2018, 4:48 PM
Mike Choy
Mike Choy - avatar
0
Thanks Mike
3rd Apr 2018, 6:43 PM
omojola
omojola - avatar