Can somebody tell me what is the meaning of this statement in css. The statement: .nav>ul>li{} | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Can somebody tell me what is the meaning of this statement in css. The statement: .nav>ul>li{}

21st Jul 2021, 2:34 PM
Ruchika Mehra
Ruchika Mehra - avatar
3 Answers
+ 4
Select all the li elements with immediate parent of ul element, which with immediate parent of .nav
22nd Jul 2021, 4:26 AM
Calviղ
Calviղ - avatar
+ 3
It's going to apply to all elements of that type to the right which have a parent of .nav.
21st Jul 2021, 2:41 PM
Jakko Jak
Jakko Jak - avatar
+ 1
First list item of first unordered list inside.nav classes elements.
22nd Jul 2021, 4:41 PM
Divya Mohan
Divya Mohan - avatar