How to style progress bar? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 2

How to style progress bar?

I don't success choose the color and other things... https://code.sololearn.com/Wd6bflZuHmMt/?ref=app Thank...

11th Jul 2019, 5:06 PM
arieh
2 Respostas
+ 13
You need to use CSS selectors for customizing progress element: /*you are able to change height, width, border-radius, margin attributešŸ‘‡*/ progress { width:200px; border-radius:2px; } /*the main progress sectionšŸ‘‡ */ ::-webkit-progress-bar{ background-color:#f00; } /*progress bar value, which is by default in light-bluešŸ‘‡*/ ::-webkit-progress-value{ background-color:#00f; } If you are using Mozilla Firefox, use -moz instead of-webkit EDIT :: Made a little code about itšŸ˜ https://code.sololearn.com/WJ35YlYRD6wk/?ref=app
11th Jul 2019, 6:03 PM
Jaydeep Khatri
Jaydeep Khatri - avatar
+ 2
Thank you very much!
11th Jul 2019, 6:55 PM
arieh