• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Difference class > li and class li


Well-known member
The deeper i go into CSS the more i get confused ;)
Just quite a few times now i saw 3rd Party CSS Sheets using > in classes and i dont see the difference.

For Example:
A CSS Class is using .class > li
another one is using .class li
But´s not changing anything if i take the > off

(where li is also just an example, could be div too)


Well-known member
.class > li implies that the li element is a direct descendent of .class.

.class li implies that the li element is a descendent of .class.