What does “body > *” mean in CSS?

后端 未结 6 1465
忘了有多久
忘了有多久 2021-02-18 21:39

I am trying to understand the CSS effects that jQTouch implements. http://www.jqtouch.com/

It has some CSS definitions that contain syntax like body > *<

6条回答
  •  不要未来只要你来
    2021-02-18 21:58

    body > * means "any element that is a direct child of the body element."

    Compare this to body *, which means "any element that is a descendant of the body element." So this would also match the element in

    ...

    , for example.

提交回复
热议问题