我在我的css文件中有这个
/* Makes a leaf fall from -300 to 600 pixels in the y-axis */
@-webkit-keyframes drop
{
/* Move a leaf to -300 pixels in the y-axis at the start of the animation */
0% { -webkit-transform: translate(0px, -50px); }
/* Move a leaf to 600 pixels in the y-axis at the end of the animation */
100% { -webkit-transform: translate(0px, 650px); }
}
如何根据屏幕高度将650px更改为不同尺寸?