Skip to content

Commit

Permalink
Fix a broken-macros (#37347)
Browse files Browse the repository at this point in the history
* Fix a broken-macros

* Update files/en-us/web/css/@view-transition/index.md
  • Loading branch information
skyclouds2001 authored Jan 22, 2025
1 parent 1c8ca24 commit 68b9965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/css/@view-transition/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ The `@view-transition` at-rule is specified in the CSS for both your current and
}
```

In addition to the `@view-transition` at-rule, we define two {{cssxref("@keyframe")}} animations and use the {{cssxref("animation")}} shorthand property to apply those keyframe animations to the elements in the outbound ({{cssxref("::view-transition-old()")}}) and inbound ({{cssxref("::view-transition-new()")}}) pages that we want to animate.
In addition to the `@view-transition` at-rule, we use the {{cssxref("@keyframes")}} at-rule to define two keyframe animations and use the {{cssxref("animation")}} shorthand property to apply those keyframe animations to the elements in the outbound ({{cssxref("::view-transition-old()")}}) and inbound ({{cssxref("::view-transition-new()")}}) pages that we want to animate.

```css
/* Create a custom animation */
Expand Down

0 comments on commit 68b9965

Please sign in to comment.