Re: [csswg-drafts] [css-transforms] Feature request: Animate a part of an element (#11564)

@FirstByteFirst if you want to target different elements you should simply use different selectors:

```css
.door-left {
  animation: 1s linear doorLeft;
}

.door-right {
  animation: 1s linear doorRight;
}
```

Otherwise, seems like what you're asking is to get a clipped part of the element and animate that.

IMHO, I don't see a need to be able to target clip parts of elements, other than really esoteric visual effects.

Does this answer your question?

-- 
GitHub Notification of comment by ydaniv
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11564#issuecomment-4055287432 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 13 March 2026 14:01:32 UTC