What does “body > *” mean in CSS?

后端 未结 6 1258
忘了有多久
忘了有多久 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条回答
  •  梦毁少年i
    2021-02-18 22:05

    The > character is a match indicator and the * is the match being indicated.

    So

    body > * 
    

    means to match any child of Body.

    http://www.w3.org/TR/CSS2/selector.html

提交回复
热议问题