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

View Transition Classes #321

Closed
vmpstr opened this issue Feb 22, 2024 · 1 comment
Closed

View Transition Classes #321

vmpstr opened this issue Feb 22, 2024 · 1 comment
Assignees
Labels
from: Google Proposed, edited, or co-edited by Google. position: support topic: css Spec relates to CSS (Cascading Style Sheets) venue: W3C CSS WG

Comments

@vmpstr
Copy link

vmpstr commented Feb 22, 2024

WebKittens

@nt1m

Title of the spec

View Transition Classes

URL to the spec

https://drafts.csswg.org/css-view-transitions-2/#view-transition-class-prop

URL to the spec's repository

https://github.com/w3c/csswg-drafts/

Issue Tracker URL

No response

Explainer URL

https://github.com/vmpstr/web-proposals/blob/main/explainers/view-transition-classes.md

TAG Design Review URL

w3ctag/design-reviews#938

Mozilla standards-positions issue URL

mozilla/standards-positions#988

WebKit Bugzilla URL

https://bugs.webkit.org/show_bug.cgi?id=275486

Radar URL

No response

Description

This feature introduces a new CSS property view-transition-class which allows the developer to specify one or more view transition classes. The developer can then select the ViewTransition pseudo elements using these classes (e.g. ::view-transition-group(*.class)).

This is an extension to the ViewTransition API that simplifies styling of view transition pseudo elements in a similar way that CSS classes simplify styling of regular DOM elements.

@annevk annevk added topic: css Spec relates to CSS (Cascading Style Sheets) from: Google Proposed, edited, or co-edited by Google. labels Mar 6, 2024
@nt1m
Copy link
Member

nt1m commented Jun 14, 2024

This solves repetition in certain use cases of View Transitions in a straightforward way.

I'll mark this as supportive if there are no objections within 7 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
from: Google Proposed, edited, or co-edited by Google. position: support topic: css Spec relates to CSS (Cascading Style Sheets) venue: W3C CSS WG
Development

No branches or pull requests

3 participants