Skip to content

Commit

Permalink
Update example: Fix default style of view-transition-name
Browse files Browse the repository at this point in the history
  • Loading branch information
yhatt committed Feb 6, 2025
1 parent 6a944a0 commit b89c2ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/bespoke-transitions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ transition: fade
style: |
/* Define the style of morphable elements (Requires Chrome 133 and later) */
[data-morph] {
view-transition-name: attr(data-morph type(<custom-ident>), auto);
view-transition-name: attr(data-morph type(<custom-ident>), none);
}

/* Global style */
Expand Down

0 comments on commit b89c2ad

Please sign in to comment.