인프런 커뮤니티 질문&답변
답변 1
0
1분코딩
지식공유자
<svg class="svg" viewBox="0 0 1000 1000">oo
<rect class="rect" x="10" y="10" width="20%" height="20%">
<animate class="ani" attributeName="x" dur="2s" to="500" fill="freeze"></animate>
<animate class="ani" attributeName="y" dur="1s" begin="2s" to="200" fill="freeze"></animate>
</rect>
</svg>
이런 식으로 begin 속성을 이용해서,
두번째 애니메이션의 시작 시점을 첫번째 애니메이션이 끝나는 순간으로 조정해 보세요~






