- From: Okiki Ojo via GitHub <sysbot+gh@w3.org>
- Date: Tue, 01 Feb 2022 14:44:39 +0000
- To: public-css-archive@w3.org
In addition to what @mattgperry posted something like this would also be awesome, ```ts CSS.mix("50٪ by ease", "red", "blue") // purple (in rgb format) CSS.mix("50٪ by ease", "currentColor", "blue", document.querySelector(".red-text")) // purple (in rgb format) // Easing is linear by default // Percentages function like they would on normal CSS CSS.mix(0.5, "100%", "200", document.querySelector(".red-text"), "width") // 150px ``` The API would very similar to the currently discussed CSS counter part `mix()` https://github.com/w3c/csswg-drafts/issues/581#issuecomment-926353789 -- GitHub Notification of comment by okikio Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6861#issuecomment-1026918867 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 1 February 2022 14:44:40 UTC