为什么css的@keyframes 中后面被编译上了[data-v-xxxxxxx],导致动画运行不了啊(Why is [data-v-xxxxxx] compiled at the back of @ keyframes in CSS, resulting in the animation not running) #2242
Answered
by
HcySunYang
royalknight56
asked this question in
Q&A
-
下面是开发环境查看到的 dev: @keyframes g4ancon-6a643a5e {
0%[data-v-6a643a5e] {
filter: brightness(100%);
box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.466);
}
50%[data-v-6a643a5e] {
filter: brightness(110%);
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.466);
}
100%[data-v-6a643a5e] {
filter: brightness(100%);
box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.466);
}
} source code: @keyframes g4ancon {
0% {
filter: brightness(100%);
box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.466);
}
50% {
filter: brightness(110%);
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.466);
}
100% {
filter: brightness(100%);
box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.466);
}
} |
Beta Was this translation helpful? Give feedback.
Answered by
HcySunYang
Feb 25, 2021
Replies: 1 comment 1 reply
-
will be fixed in vuejs/core#3308 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
royalknight56
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
will be fixed in vuejs/core#3308