css animation scale up and down code example

Example: scale up and scale down animation in css

@-webkit-keyframes scaling {
From {
    -webkit-transform: scale(1.0);
}
To {
    -webkit-transform: scale(2.0);
}

#treeLeaves {
-webkit-animation: scaling 5s infinite alternate;
}

Tags:

Css Example