강의

멘토링

커뮤니티

Inflearn Community Q&A

mkp0131's profile image
mkp0131

asked

BBC Interactive Page "The Future of Offices: How Covid-19 Will Change Its Ways" Clone

JS 파트 2

새가 원래자리로 돌아올때도 transition 시간이 필요한데. 돌아올때는 바로 돌아오록 하는 Tip 이 있을까요?

Written on

·

241

0

새가 원래자리로 돌아올때도 transition 시간이 필요한데. 돌아올때는 바로 돌아오록 하는 Tip 이 있을까요?

저는 밑에 방식대로 처리했는데 혹시 더 좋은 방법 있을까요?

birdElement.style.transform =
`translate3d(${window.innerWidth}px, 0, 0)`;
birdElement.style.transition = `1s 0.5s`;
인터랙티브-웹클론코딩

Answer

This question is waiting for answers
Be the first to answer!
mkp0131's profile image
mkp0131

asked

Ask a question