Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-transforms] Feature request: Animate a part of an element #11564

Open
FirstByteFirst opened this issue Jan 24, 2025 · 0 comments
Open

[css-transforms] Feature request: Animate a part of an element #11564

FirstByteFirst opened this issue Jan 24, 2025 · 0 comments

Comments

@FirstByteFirst
Copy link

Currently an animation animates a complete element. I propose transform-offset: x y w h that could animate a portion of an element.

x: Describes the X-postion of the part of the element to animate. Computed value must be between 0 and element width
y: Describes the Y-postion of the part of the element to animate. Computed value must be between 0 and element height
w: Describes the width of the part of the element to animate. Computed value must be between 0 and element width-x
h: Describes the height of the part of the element to animate. Computed value must be between 0 and element height-y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant