CSS3 选择器总结

选择器 id 类 属性 后代 直接子代(>) 兄弟(sbling) 群组(,) 注意:属性选择器 ~ 表示的是单次 ; * 表示的是包含; | 表示的是 以value 开头或则 value-。 **注意: 1.first-child last-child 和 nth-child(n) nth-last-child(n) nth-first-child(n) 他们选择的时候是必须按着标签顺序选的。
相关文章
相关标签/搜索