CSS animation scale tutorial in Linux (web design) animation-name, animation-duration, keyframes
@keyframes hi{
from{
width:30px;
height:30px;
}
to{
width:300px;
height:300px;
}
}
@keyframes hi2{
0%{
width:30px;
height:30px;
}
50%{
width:500px;
height:500px;
}
100%{
width:100px;
height:100px;
}
}
div.anim{
width:30px;
height:30px;
margin:auto;
background:black;
animation-name:hi;
animation-duration:5s;
}