What does “body > *” mean in CSS?

后端 未结 6 1329
忘了有多久
忘了有多久 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:47

    * refers to all elements, and > means immediate child elements, so body > * means all immediate child elements of the body.

    It's probably a hack of some kind to refer to a particular browser, though I'm not familiar with it.

提交回复
热议问题