- From: Axel D. via GitHub <sysbot+gh@w3.org>
- Date: Wed, 07 Aug 2024 14:38:22 +0000
- To: public-css-archive@w3.org
SetTrend has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-transitions]: Add keyword for adding transitions to existing ones ==
## Current Situation
Currently, in the following example, the second rule will overwrite the first one:
```css
transition: opacity 400ms ease;
transition: left 350ms ease;
```
So, only `transition: left 350ms ease;` will be in effect. `transition: opacity 400ms ease;` will be ignored
## Desired Situation
Please add an `add` keyword to the different `transition` properties (incl. the shorthand property), so existing transition rules will remain intact while new transitions may be added independently from existing transitions.
### Example
```css
transition: opacity 400ms ease;
transition: add left 350ms ease;
‾‾‾
```
… would yield the same result as:
```css
transition: opacity 400ms ease
, left 350ms ease;
```
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10710 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 7 August 2024 14:38:23 UTC