Skip to content

How to use animation in atomizer? #433

Answered by thierryk
thierryk asked this question in Q&A
Discussion options

You must be logged in to vote

Let's try to reproduce this basic example from The Guide To CSS Animation: Principles and Examples

/* This is the animation code. */
@-webkit-keyframes example {
   from { transform: scale(2.0); }
   to   { transform: scale(1.0); }
}

/* This is the element that we apply the animation to. */
div {
   -webkit-animation-name: example;
   -webkit-animation-duration: 1s;
   -webkit-animation-timing-function: ease; /* ease is the default */
   -webkit-animation-delay: 1s;             /* 0 is the default */
   -webkit-animation-iteration-count: 2;    /* 1 is the default */
   -webkit-animation-direction: alternate;  /* normal is the default */
}

To do so, one can choose to go shorthand or longhand

Replies: 0 comments 1 reply

Comment options

thierryk
Jan 25, 2021
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by thierryk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant