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

Open
vmpstr opened this issue Feb 22, 2024 · 0 comments
Open

View Transition Classes #321

vmpstr opened this issue Feb 22, 2024 · 0 comments
Labels
from: Google Proposed, edited, or co-edited by Google. topic: css Spec relates to CSS (Cascading Style Sheets)

Comments

@vmpstr
Copy link

vmpstr commented Feb 22, 2024

WebKittens

@nt1m

Title of the spec

View Transitions, Level 2 (view-transition-class)

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

No response

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
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. topic: css Spec relates to CSS (Cascading Style Sheets)
Projects
None yet
Development

No branches or pull requests

2 participants