Fixed spelling errors (#28695)
This commit is contained in:
committed by
Jingyi Ding
parent
ad79f47bcc
commit
2c06509377
@ -21,14 +21,14 @@ localeTitle: CSS3 Nth Child Selector
|
||||
Odd returns all odd elements of a given type.
|
||||
```
|
||||
|
||||
CSS a:nth-childe(odd){ / \* CSS在这里\* / }
|
||||
CSS a:nth-child(odd){ / \* CSS在这里\* / }
|
||||
```
|
||||
##### Even
|
||||
|
||||
Even returns all even elements of a given type.
|
||||
```
|
||||
|
||||
CSS a:nth-childe(偶数){ / \* CSS在这里\* / }
|
||||
CSS a:nth-child(偶数){ / \* CSS在这里\* / }
|
||||
```
|
||||
#### An+B
|
||||
|
||||
@ -37,8 +37,8 @@ CSS a:nth-childe(偶数){ / \* CSS在这里\* / }
|
||||
For example, the following will match every 3rd anchor element:
|
||||
```
|
||||
|
||||
CSS a:nth-childe(3n){ / \* CSS在这里\* / } \`\`\`
|
||||
CSS a:nth-child(3n){ / \* CSS在这里\* / } \`\`\`
|
||||
|
||||
### 更多信息:
|
||||
|
||||
[MDN文档](https://developer.mozilla.org/en-US/docs/Web/CSS/%3Anth-child) [CSS技巧 - 第n个子选择器](https://css-tricks.com/almanac/selectors/n/nth-child/) [CSS技巧 - 第n个儿童测试员](https://css-tricks.com/examples/nth-child-tester/) [W3Scools - 第n个儿童选择器](https://www.w3schools.com/cssref/sel_nth-child.asp)
|
||||
[MDN文档](https://developer.mozilla.org/en-US/docs/Web/CSS/%3Anth-child) [CSS技巧 - 第n个子选择器](https://css-tricks.com/almanac/selectors/n/nth-child/) [CSS技巧 - 第n个儿童测试员](https://css-tricks.com/examples/nth-child-tester/) [W3Scools - 第n个儿童选择器](https://www.w3schools.com/cssref/sel_nth-child.asp)
|
||||
|
Reference in New Issue
Block a user