动态效果(借鉴老师)
在body里写一个div给他一个类名后在在div里写一个img,img是一个导入图片的代码,导好后开始写css样式
动态效果
动态效果
“position:fixed;” 是固定定位“cursor:pointer;”transform:translatey(80);这是他的一个移动的距离,animation:tup 3.5s ease infinite, “3.5s是移动的时间 influence是重复的意思;。
transform:translate(0px)是每次移动的距离。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-17
  • 2021-12-06
  • 2021-12-25
  • 2021-12-31
  • 2022-12-23
猜你喜欢
  • 2021-12-25
  • 2021-07-13
  • 2022-12-23
  • 2022-12-23
  • 2021-06-21
相关资源
相似解决方案