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

Discussion in 'Styling and Customization Questions' started by TsinJu, Aug 10, 2013.

  1. TsinJu

    TsinJu 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)
  2. Jeremy

    Jeremy 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.
    TsinJu likes this.

Share This Page