Skip to content

Commit

Permalink
Small tweaks to AccentColor example
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdavidmills authored Jan 4, 2024
1 parent f7b297b commit df55654
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,13 @@ For example, the `selector()` function can be used to import a stylesheet for br

### Browser support test

In this example, we check if the browser supports the `AccentColor` {{cssxref("system-color")}}, hiding support with `display: none` if the color type is not supported.
In this example, we check if the browser supports the `AccentColor` {{cssxref("system-color")}} and use `display: none` to change the default "not supported" message to a "supported" message if the color type is supported.

#### HTML

```html
<p class="accentcolor">
Your browser does <span>not</span> support `accentcolor` as a color value.
Your browser does <span>not</span> support <code>AccentColor</code> as a color value.
</p>
```

Expand Down

0 comments on commit df55654

Please sign in to comment.