diff --git a/guides/user-experience/scoped-component-transitions/demo.html b/guides/user-experience/scoped-component-transitions/demo.html new file mode 100644 index 00000000..397203af --- /dev/null +++ b/guides/user-experience/scoped-component-transitions/demo.html @@ -0,0 +1,196 @@ + + + + + + Scoped Component Transitions Demo + + + +
Toolbar (stays visible during scoped transitions)
+ +
+
+

Card A

+ + +
+ + +
+ + + + diff --git a/guides/user-experience/scoped-component-transitions/guide.md b/guides/user-experience/scoped-component-transitions/guide.md new file mode 100644 index 00000000..82e38032 --- /dev/null +++ b/guides/user-experience/scoped-component-transitions/guide.md @@ -0,0 +1,12 @@ +--- +name: scoped-component-transitions +description: Animate state changes inside a single component (a card, list, panel, or other subtree) without pausing the rest of the page or conflicting with other transitions running concurrently. +web-feature-ids: + - view-transitions-element-scoped + - view-transitions +sources: + - https://github.com/WICG/view-transitions/blob/main/scoped-transitions.md + - https://developer.chrome.com/blog/element-scoped-view-transitions + - https://developer.chrome.com/docs/css-ui/view-transitions/element-scoped-view-transitions + - https://drafts.csswg.org/css-view-transitions-2/ +---