0

How to uncommon ol li and ul li with #idname in css

#skills ol li { color:blue; } #skills ul li { color:pink; }

27th Nov 2021, 10:45 AM
M. Sreedharan
5 Respostas
+ 1
What do you mean "uncommon"?
27th Nov 2021, 10:59 AM
Ipang
0
How to show different colours and text with /*
27th Nov 2021, 12:02 PM
M. Sreedharan
0
Still not getting what you mean. The code shows <li> elements with different colours depending whether their parent was an <ol> or <ul>. /* is a symbol denoting begin of comment in CSS. What did you mean by "different colours and text with /*"? Reply in simple English ...
27th Nov 2021, 12:07 PM
Ipang
0
If i type the above code I'm not getting different colours ,I'm getting only blue but not pink
27th Nov 2021, 12:09 PM
M. Sreedharan
0
Okay can you save that code and share its link so I can check it out? https://www.sololearn.com/post/75089/?ref=app
27th Nov 2021, 12:10 PM
Ipang