CSS Child vs Descendant selectors

前端 未结 8 2021
心在旅途
心在旅途 2020-11-22 03:36

I am a bit confused between these 2 selectors.

Does the descendent selector:

div p

select all p withi

8条回答
  •  被撕碎了的回忆
    2020-11-22 04:00

    Be aware that the child selector is not supported in Internet Explorer 6. (If you use the selector in a jQuery/Prototype/YUI etc selector rather than in a style sheet it still works though)

提交回复
热议问题