Can I animate multiple css transform properties separately using keyframe animation
问题 I want to animate two (or more) css transform properties separately using keyframe animation like this: @keyframes translatex { 100% { transform: translateX(100px); } } @keyframes rotatez { 100% { transform: rotateZ(80deg); } } HTML: <div class="rect"></div> translatex animation should start with 0s delay and last for 5 seconds. rotatez animation should start with 1s delay and last for 3 seconds. So .rect element starts moving, then after 1 second it starts rotating, then after 3 seconds it