永发信息网

css3怎么写划过后图标向上滑动

答案:1  悬赏:70  手机版
解决时间 2021-11-13 17:23
  • 提问者网友:饥饿走向夜
  • 2021-11-12 19:46
css3怎么写划过后图标向上滑动
最佳答案
  • 五星知识达人网友:末日狂欢
  • 2021-11-12 21:16
.icon:hover{
      top:-100px;
    }
.icon{
      width:100px;
      height:100px;
      position: relative; 
      border-radius:100px;
      background:#3ad;
      transition: top 1s linear;
      margin-top:500px; 
      top:0;
    }
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯