- From: Frances Cornwall via GitHub <sysbot+gh@w3.org>
- Date: Fri, 02 Aug 2024 20:38:44 +0000
- To: public-css-archive@w3.org
francescorn has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-color-4] Add `opacity/alpha` parameter to `<named-color>` and `<hex-color>` == ***Problem*** Currently you have to specify an `alpha-value` separately in [`<named-color>`](https://www.w3.org/TR/css-color-3/#svg-color) and [`<hex-color>`](https://www.w3.org/TR/css-color-4/#hex-notation) as `opacity`. It can lead to a confusion. ``` .element { background-color: #aaaaaa; color: black; opacity: 0.5; } ``` ***Solution*** I would like to be able to add the `alpha-value` in the same line: ``` .element { background-color: #aaaaaa 0.5; color: black 0.7; } ``` Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10678 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 2 August 2024 20:38:45 UTC