Tailwind配置文件中,如何设置CSS实现跑马灯动画的无限循环?
- 内容介绍
- 文章标签
- 相关推荐
本文共计941个文字,预计阅读时间需要4分钟。
在`tailwind.config.js`文件中定义自定义的`@keyframes`是可行的,但必须遵守以下规范:
必须把 keyframes 写在 theme.extend.keyframes 下
Tailwind 不识别 theme.keyframes 或 theme.animation.keyframes 这类路径。
本文共计941个文字,预计阅读时间需要4分钟。
在`tailwind.config.js`文件中定义自定义的`@keyframes`是可行的,但必须遵守以下规范:
必须把 keyframes 写在 theme.extend.keyframes 下
Tailwind 不识别 theme.keyframes 或 theme.animation.keyframes 这类路径。

