Skip to content

Commit a350300

Browse files
authored
Merge pull request #3 from cpmsmith/update-readme-info
Update readme to reflect current browser support for relative colours
2 parents e2804bb + 7077909 commit a350300

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
[PostCSS] plugin to add opacity to any color with [Relative Color Syntax].
88

9-
Upcoming CSS Colors 5 allows you to change any color including adding opacity.
10-
Firefox still [doesn’t support] this syntax and plugin partially polyfills
11-
this syntax via [`color-mix()`].
9+
CSS Colors 5 allows you to change any color including adding opacity. This
10+
syntax gained [broad support] in mid-2024, but for older browsers, this plugin
11+
partially polyfills this syntax via [`color-mix()`].
1212

1313
```css
1414
.notice {
@@ -33,7 +33,7 @@ This polyfill is based on [Adam Argyle idea].
3333
---
3434

3535
[Relative Color Syntax]: https://www.w3.org/TR/css-color-5/#relative-color
36-
[doesn’t support]: https://caniuse.com/css-relative-colors
36+
[broad support]: https://caniuse.com/css-relative-colors
3737
[Adam Argyle idea]: https://twitter.com/argyleink/status/1633681345607241730?s=20
3838
[`color-mix()`]: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/color-mix
3939
[PostCSS]: https://github.com/postcss/postcss

0 commit comments

Comments
 (0)