What does “body > *” mean in CSS?

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

    The > means that only the following * (anything), which is the IMMEDIATE child of the body will be affected.

    So body > * basically means every immediate child of the body tag. body * means all tags inside the body tag, no matter the level.

提交回复
热议问题