Sel nth child:修订历史

本页内容
上一节: Sel_only_child 下一节: Sel_nth_last_child

差异选择:选中要对比的版本的单选按钮,按Enter键或下方的按钮。
说明:(当前)=与最后版本之间的差异,(之前)=与上一版本之间的差异,=小编辑。

2022年8月19日 (星期五)

2022年8月18日 (星期四)

  • 当前之前 22:422022年8月18日 (四) 22:42Neo 讨论 贡献 3,180字节 +3,180 创建页面,内容为“{{DISPLAYTITLE::nth-child(n)}}11 = CSS3 :nth-child() 选择器 = 完整CSS选择器参考手册 指定每个 p 元素匹配的父元素中第 2 个子元素的背景色: <sample title="" desc="" lang="html" hererun="1"> p:nth-child(2) { background:#ff0000; } </sample> <run name=""> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>小白教程(xiaobai.wang)</title> <style> p:nth-child(2) {…”
上一节: Sel_only_child 下一节: Sel_nth_last_child