jquery - 禁用移动设备的动画 css 文件

标签 jquery html css

我已经使用 jquery 向 div 添加了动画类。我在我的网页中添加了 animation.css 文件。我有 animated slideInLeft 类。我想为移动设备禁用该类。是否可以显示动画功能?

最佳答案

类似于:

@media (max-width: 320px) {
  .animated {
    animation: none !important;
  }
}

关于jquery - 禁用移动设备的动画 css 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43892626/

相关文章:

javascript - 点击应该跳过 html 中的字段之一

html - 背景图像上的径向渐变圆叠加

javascript - 以 html/css 作为正文背景的网格

javascript - 阻止 jQuery 调用下一个事件

javascript - 使用 jQuery .addClass 函数

jquery焦点回调

php - 具有相同名称的不同形式的 TinyMCE 的多个实例 (jQuery)

javascript - div 周围的 anchor 使其可以在 div 本身之外单击

javascript - 如何用按钮制作标题标题

css - 仅在移动设备时如何使下拉菜单使用全宽?