Why does my Transform snap back?

后端 未结 3 1319
囚心锁ツ
囚心锁ツ 2020-11-27 08:46

Am trying to make my element stay in spot (after the transition). Right now, the translated location is where I want it but then my name snaps back onto the quote. Am I miss

3条回答
  •  南方客
    南方客 (楼主)
    2020-11-27 09:05

    The selected answer didn't quite work for me. I had to wrap my element in a div where I added the transform properties and then I added display: inline-block to that div.

提交回复
热议问题