Skip to content

Commit

Permalink
Update files/en-us/web/css/attr/index.md
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Mills <[email protected]>
  • Loading branch information
bramus and chrisdavidmills authored Jan 10, 2025
1 parent 4cd47f8 commit 7d7ce12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/css/attr/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ To prevent this sort of situation, make sure you don't pass inherited `attr()` v

### Feature Detection

We can feature detect support for advanced `attr()` using the {{CSSxRef("@supports")}} at-rule by trying it to assign advanced `attr()` to a (non-custom) CSS property.
You can feature detect support for modern `attr()` syntax using the {{CSSxRef("@supports")}} at-rule. In the test, try to assign advanced `attr()` to a (non-custom) CSS property.

For example:

Expand Down

0 comments on commit 7d7ce12

Please sign in to comment.