How to uncommon ol li and ul li with #idname in css | Sololearn: Learn to code for FREE!

0

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

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

11/27/2021 10:45:50 AM

M. Sreedharan

5 Answers

New Answer

+1

What do you mean "uncommon"?

0

How to show different colours and text with /*

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 ...

0

If i type the above code I'm not getting different colours ,I'm getting only blue but not pink

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