Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
yoli799480165 committed Jul 16, 2024
1 parent f4a6dc9 commit 51d6655
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/Examples.Basic/Pages/Animation.razor
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
AnimationDuration = "3s",
AnimationName = new Keyframe("animation-transform")
{
["from"] = new()
["from"] = new CSSObject()
{
Transform = "translateX(0px)",
Opacity = 1
},
["to"] = new()
["to"] = new CSSObject()
{
Transform = "translateX(100px)",
Opacity = 0.2f
Expand Down Expand Up @@ -75,15 +75,15 @@
AnimationDuration = "3s",
AnimationName = new Keyframe("animation-offset")
{
["0%"] = new()
["0%"] = new CSSObject()
{
Background = "red"
},
["72%"] = new()
["72%"] = new CSSObject()
{
Background = "blue"
},
["100%"] = new()
["100%"] = new CSSObject()
{
Background = "green"
}
Expand Down

0 comments on commit 51d6655

Please sign in to comment.