Fixed Misspellings (#28678)
"nth-child" was misspelled as "nth-childe" in the last three examples
This commit is contained in:
@ -24,7 +24,7 @@ The patterns accepted by `nth-child` can come in the form of keywords or an equa
|
||||
Odd returns all odd elements of a given type.
|
||||
|
||||
```css
|
||||
a:nth-childe(odd) {
|
||||
a:nth-child(odd) {
|
||||
/* CSS goes here */
|
||||
}
|
||||
```
|
||||
@ -34,7 +34,7 @@ Odd returns all odd elements of a given type.
|
||||
Even returns all even elements of a given type.
|
||||
|
||||
```css
|
||||
a:nth-childe(even) {
|
||||
a:nth-child(even) {
|
||||
/* CSS goes here */
|
||||
}
|
||||
```
|
||||
@ -45,7 +45,7 @@ Returns all elements matching the equation An+B for every positive integer value
|
||||
|
||||
For example, the following will match every 3rd anchor element:
|
||||
```css
|
||||
a:nth-childe(3n) {
|
||||
a:nth-child(3n) {
|
||||
/* CSS goes here */
|
||||
}
|
||||
```
|
||||
@ -55,4 +55,4 @@ For example, the following will match every 3rd anchor element:
|
||||
<a href='https://developer.mozilla.org/en-US/docs/Web/CSS/%3Anth-child' target='_blank' rel='nofollow'>MDN Documentation</a>
|
||||
<a href='https://css-tricks.com/almanac/selectors/n/nth-child/' target='_blank' rel='nofollow'>CSS Tricks - nth child selector</a>
|
||||
<a href='https://css-tricks.com/examples/nth-child-tester/' target='_blank' rel='nofollow'>CSS Tricks - nth child tester</a>
|
||||
<a href='https://www.w3schools.com/cssref/sel_nth-child.asp' target='_blank' rel='nofollow'>W3Scools - nth child selector</a>
|
||||
<a href='https://www.w3schools.com/cssref/sel_nth-child.asp' target='_blank' rel='nofollow'>W3Scools - nth child selector</a>
|
||||
|
Reference in New Issue
Block a user