css - 使用缩放时 CSS 关键帧过渡暂停
问题描述
我有以下代码:
@keyframes sonar-wave {
0% {
transform: scale(1.00);
opacity: 0;
}
50% {
transform: scale(1.15);
opacity: 0.5;
}
100% {
transform: scale(1.3);
opacity: 0;
}
}
当这触发时,我会在规模继续之前看到一个“暂停”。我想要一个平滑的缩放动画。在这里提琴:
https://jsfiddle.net/Lztxfho9/
我究竟做错了什么?
解决方案
推荐阅读
- javascript - 在 gatsby.js 中调用带有注册模块的路由器
- rabbitmq - 站点回收后创建多个消费者。RabbitMq/Masstransit
- sql - 提高 PostgresSQL 聚合查询性能
- java - 应用程序启动时如何使键盘失焦以编辑文本?
- javascript - 选择输入的映射选项的 onChange 事件未定义返回
- python - sort(key=function) 不工作但 sorted(iterable,key=function) 工作
- scala - 如何在结构化查询中使用日期(作为字符串)?
- javascript - 根据 JS 中 html 标记的类和 id(增量)隐藏和显示 div
- python - 如何从数据库中显示一个月的考勤情况?
- java - MariaDB 功能索引