We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
微信用户 天下第二 提问:
我发现单个标签画饼图有一个问题,就是 100% 的状态没法显示。 这篇博客 用了书上的代码,如果把最下面那个图改成 animation-delay:-100s,本来希望是整个饼图显示 #655 颜色,但是实际上恢复了初始状态的绿色。
我发现单个标签画饼图有一个问题,就是 100% 的状态没法显示。
这篇博客 用了书上的代码,如果把最下面那个图改成 animation-delay:-100s,本来希望是整个饼图显示 #655 颜色,但是实际上恢复了初始状态的绿色。
animation-delay:-100s
#655
临时回复如下:
我暂时没有去深入分析原因。在不改变动画代码的前提下,最简单的变通解决办法是把 -100s 写成 -99.999s。
-100s
-99.999s
如果你是用脚本来写入元素的 .style.animationDelay 的话,在写入之前减去 0.001 即可;或者判断一下,当发现写入值为 100 时,改为 99.999 再写入。
.style.animationDelay
0.001
100
99.999
The text was updated successfully, but these errors were encountered:
No branches or pull requests
交流与答疑
微信用户 天下第二 提问:
临时回复如下:
我暂时没有去深入分析原因。在不改变动画代码的前提下,最简单的变通解决办法是把
-100s
写成-99.999s
。如果你是用脚本来写入元素的
.style.animationDelay
的话,在写入之前减去0.001
即可;或者判断一下,当发现写入值为100
时,改为99.999
再写入。The text was updated successfully, but these errors were encountered: