How is the “greater than” or “>” character used in CSS?

后端 未结 4 1606
春和景丽
春和景丽 2020-12-04 17:20

I have seen this character a number of times in CSS files but I have no idea how its used. Can anyone explain it to me and show how they are useful in making a page style ea

4条回答
  •  爱一瞬间的悲伤
    2020-12-04 18:00

    E > F
    

    Matches any F element that is a child of an element E.

    more on http://www.w3.org/TR/CSS21/selector.html#child-selectors

提交回复
热议问题