Skip to content

Commit d85ca18

Browse files
Update definition of CSS pseudo-classes (#42295)
* Update definition of CSS pseudo-classes Clarified the definition of CSS pseudo-classes to include selection based on external information. * Update files/en-us/web/css/reference/selectors/pseudo-classes/index.md Co-authored-by: Chris Mills <[email protected]> --------- Co-authored-by: Chris Mills <[email protected]>
1 parent 90ef657 commit d85ca18

File tree

1 file changed

+1
-1
lines changed
  • files/en-us/web/css/reference/selectors/pseudo-classes

1 file changed

+1
-1
lines changed

files/en-us/web/css/reference/selectors/pseudo-classes/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spec-urls:
1010
sidebar: cssref
1111
---
1212

13-
A [CSS](/en-US/docs/Web/CSS) **_pseudo-class_** is a keyword added to a selector that lets you style a specific state of the selected element(s). For example, the pseudo-class {{CSSxRef(":hover")}} can be used to select a button when a user's pointer hovers over the button and this selected button can then be styled.
13+
A [CSS](/en-US/docs/Web/CSS) **_pseudo-class_** is a keyword added to a selector that lets you select elements based on information that lies outside of the document tree, such as a specific state of the selected element(s). For example, the pseudo-class {{CSSxRef(":hover")}} can be used to style a button when a user's pointer hovers over it.
1414

1515
```css
1616
/* Any button over which the user's pointer is hovering */

0 commit comments

Comments
 (0)