What does “body > *” mean in CSS?

后端 未结 6 1466
忘了有多久
忘了有多久 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 22:07

    body > * means "any direct child of the body tag", e.g. consider the following scenario

    
        

    This will be affected by body > *

    This also

    This will not be affected, because it is not a direct child

提交回复
热议问题