File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments