How can i use color attribute in ordered list | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

How can i use color attribute in ordered list

How can i use color attribute in ordered list

30th Jan 2017, 4:53 AM
sharman khatkar
1 Respuesta
+ 1
ol { color:red; } to target all the ordered list li { color:red; } to target each line of a list li:nth-child(x) { color:red; } to target the xth line of a list Combine with specifics selectors ( #id or .class ) to target specific list ^^
30th Jan 2017, 7:07 AM
visph
visph - avatar