CSS Diner游戏

1、plate :元素选择器
2、bento:元素选择器
3、#fancy:id选择器
4、plate apple:后代选择器
5、#fancy pockle:后代选择器
6、.small:类选择器
7、orange.small:交集选择器
8、bento orange.small:后代交集选择器
9、plate,bento:并集选择器
10、*:通配
11、orange.small,pickle,plate apple:并集
12、plate+apple:兄弟选择器
13、bento~pickle:兄弟选择器
14、plate> apple:子代
15、orange:first-child:子元素
16、apple,pickle:only-child:子元素
17、apple.small,pickle.small:并集
18、plate:nth-child(3):子元素
19、bento:first-of-type:子元素
20、apple:first-child:子元素
21、plate:nth-child(even):子元素
22、plate::nth-of-type(2n+3):子元素
23、plate>apple:only-child:子元素
24、.small:last-of-type:子元素
25、bento:empty:空元素
26、apple:not(.small):否定伪类

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。