Skip to content

Commit 3bdc3dd

Browse files
authored
Fix typos and add punctuation (#1829)
1 parent 57be45d commit 3bdc3dd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

plugins/postcss-nesting/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ postcssNesting()
184184
}
185185
```
186186

187-
_`.beta:hover` has specificity as if `.beta` where an id selector, matching the specification._
187+
_`.beta:hover` has specificity as if `.beta` were an id selector, matching the specification._
188188

189189
[specificity: 1, 1, 0](https://polypane.app/css-specificity-calculator/#selector=%3Ais(%23alpha%2C.beta)%3Ahover)
190190

@@ -202,7 +202,7 @@ postcssNesting({
202202
}
203203
```
204204

205-
_`.beta:hover` has specificity as if `.beta` where a class selector, conflicting with the specification._
205+
_`.beta:hover` has specificity as if `.beta` were a class selector, conflicting with the specification._
206206

207207
[specificity: 0, 2, 0](https://polypane.app/css-specificity-calculator/#selector=.beta%3Ahover)
208208

@@ -246,8 +246,8 @@ postcssNesting({
246246
```
247247

248248
_this is a different selector than expected as `.beta + .alpha` matches `.beta` followed by `.alpha`._<br>
249-
_avoid these cases when you disable `:is()`_<br>
250-
_writing the selector without nesting is advised here_
249+
_avoid these cases when you disable `:is()`._<br>
250+
_writing the selector without nesting is advised here._
251251

252252
```css
253253
/* without nesting */

0 commit comments

Comments
 (0)