Skip to content

Commit

Permalink
Update files/en-us/web/css/subsequent-sibling_combinator/index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
teoli2003 authored Dec 2, 2023
1 parent 2fa1f68 commit 21fdde7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/css/subsequent-sibling_combinator/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ browser-compat: css.selectors.subsequent-sibling

{{CSSRef("Selectors")}}

The **subsequent-sibling combinator** (`~` tilde) separates two selectors and matches _all instances_ of the second element that follow the first element (not necessarily immediately) and share the same parent element.
The **subsequent-sibling combinator** (`~`, a tilde) separates two selectors and matches _all instances_ of the second element that follow the first element (not necessarily immediately) and share the same parent element.

In the following example, the subsequent-sibling combinator (`~`) helps to select and style paragraphs that are both siblings of an image and appear after any image.

Expand Down

0 comments on commit 21fdde7

Please sign in to comment.