结构性伪类选择器—nth-child(n)
来源:互联网 发布:我的世界手机版0.15js 编辑:程序博客网 时间:2024/05/22 12:12
任务
在右边CSS编辑器中第一行输入正确的代码,让奇数行背景色变成绿色。
<!DOCTYPE www.dztcsd.comhtml>
<html>
<head>
<meta charset="utf-8">
<title>结构性伪类选择器—nth-child(n)</title>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<ol>
<li>item1</li>
<li>item2</li>
<li>item3</li>
<li>item4</li>
<li>item5</li>
<li>item6</li>
<li>item7</li>
<li>item8</li>
<li>item9</li>
<li>item10</li>
</ol>
</body>
</html>
0 0
- 【CSS3】结构性伪类选择器—nth-child(n)
- 【CSS3】结构性伪类选择器—nth-last-child(n)
- 结构性伪类选择器—nth-child(n)
- 结构性伪类选择器—nth-last-child(n)
- 结构性伪类选择器—first-child
- 结构性伪类选择器—last-child
- 【CSS3】结构性伪类选择器—first-child
- 【CSS3】结构性伪类选择器—last-child
- :nth-child()伪类选择器
- 强大的nth-child(n)伪类选择器玩法 企
- 【CSS3】---结构性伪类选择器-first-child+last-child
- css 伪类选择器 :nth-child(n) 与:nth-of-type(n)的区别
- 伪类选择器之结构选择器::noth-child(n)/:nth-of-type(n)
- CSS3伪类选择器:nth-child()
- CSS3伪类选择器:nth-child()
- CSS3 :nth-child()伪类选择器
- CSS3伪类选择器:nth-child()
- CSS3 :nth-child()伪类选择器
- 设计模式-享元模式(Flyweight)
- 梯度下降法解线性回归
- 常见的几种 RuntimeException
- LINUX系统的调试信息是如何从串口输出的
- 基于php的地图坐标服务接口调用代码实例
- 结构性伪类选择器—nth-child(n)
- php gzip压缩解压缩
- Java基础--容器
- 如何把网站代码移植入linux环境下的svn版本库中
- 密码学原理与实践
- 静态变量和静态代码块的执行顺序
- A:UBOOT向LINUX内核传递参数的原理
- 关于qt中的tr()函数
- OpenCV学习笔记(十一) 轮廓操作