Skip to content

Commit decd37f

Browse files
authored
Update link to "Subsequent-sibling combinator" (#1739)
1 parent ac2cebe commit decd37f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/docs/hover-focus-and-other-states.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ This makes it possible to do all sorts of neat tricks, like [floating labels](ht
513513

514514
This pattern works with every pseudo-class modifier, for example `peer-focus`, `peer-required`, and `peer-disabled`.
515515

516-
It's important to note that the `peer` marker can only be used on _previous_ siblings because of how the [general sibling combinator](https://developer.mozilla.org/en-US/docs/Web/CSS/General_sibling_combinator) works in CSS.
516+
It's important to note that the `peer` marker can only be used on _previous_ siblings because of how the [subsequent-sibling combinator](https://developer.mozilla.org/en-US/docs/Web/CSS/Subsequent-sibling_combinator) works in CSS.
517517

518518
<TipBad>Won't work, only previous siblings can be marked as peers</TipBad>
519519

0 commit comments

Comments
 (0)