【发布时间】:2022-01-26 23:24:47
【问题描述】:
我有一个 css 值,我需要从后面的代码中调用它。有人可以帮我吗?
.shape .bar .progress {位置:绝对}
.shape .pro {动画:左4s}
@keyframes 左 {100%{ 变换:旋转(180deg);}}
我可以通过以下方式调用 .shape.pro shape1.attributes.add(“class”, “pro”)
现在,我想调用@keyframes,以便我可以在后面的代码中更改旋转值.. 怎么做?
谢谢
【问题讨论】: