CSS3 Scale Animation
for http://stackoverflow.com/questions/17767759/css3-scale-animation-keyframes
by Ankit Patidar
HTML
<div id="treeLeaves"><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="heart" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="svg-inline--fa fa-heart fa-w-16 fa-7x" style="transform: scale(0.5);"><path fill="currentColor" d="M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z" class=""></path></svg></div>
CSS
#treeLeaves {
width:375px;
height:375px;
z-index:5;
position:absolute;
transform-origin: 0 0;
animation: leaves 1s ease-in-out infinite alternate;
}
@keyframes leaves {
0% {
transform: scale(1.0);
}
50% {
transform: scale(1.5);
}
100% {
transform: scale(1);
}
}