摘要: first-child选择器和last-child选择器 first-child指定第一个元素。last-child指定最后一个子元素。 例如: nth-child选择器和nth-last-child选择器 指定父元素中某个指定序号的子元素来指定样式。指定方法如下所示: 例如: 对所有第奇数个子元素 阅读全文
posted @ 2017-06-09 18:13 余子酱 阅读(457) 评论(0) 推荐(0) 编辑