首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用css移除放大和缩小效果

问使用css移除放大和缩小效果
EN

Stack Overflow用户
提问于 2021-03-23 13:55:31
回答 1查看 62关注 0票数 2

我想从移动视图中删除放大和缩小效果,但不能得到解决方案,

代码语言:javascript
复制
.whats_next_float .lets_go_wrapper img.logo_img {
    animation: zoominout 3s infinite;
}

animation: zoominout 3s infinite;
    animation-duration: 3s;
    animation-timing-function: ease;
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-direction: normal;
    animation-fill-mode: none;
    animation-play-state: running;
    animation-name: zoominout;
}

任何人有任何想法,然后让我知道。

EN

回答 1

Stack Overflow用户

发布于 2021-03-23 13:58:04

可以将CSS animation属性设置为none。

代码语言:javascript
复制
@media only screen and (max-width: 600px) {
  .whats_next_float .lets_go_wrapper img.logo_img {
    -webkit-animation: none;
    -moz-animation: none;
    -o-animation: none;
    -ms-animation: none;
    animation: none;
  }
}
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66757967

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档