-2
I have a css with the following animation:
@-webkit-keyframes bounce {
0%, 20%, 60%, 100% { -ms-transform: translateY(0); }
0%, 20%, 60%, 100% { -o-transform: translateY(0); }
0%, 20%, 60%, 100% { -moz-transform: translateY(0); }
0%, 20%, 60%, 100% { -webkit-transform: translateY(0); }
40% { -webkit-transform: translateY(-20px); }
80% { -webkit-transform: translateY(-10px); }
}
But VS Code leaves an error message:
Always define standard Rule '@keyframes' when Defining keyframes.
I can’t fix it. Someone knows and could help me with it please?
You defined as
@-webkit-keyframes
, he’s complaining about it, he tries to put it alone@keyframes
– Denis Rudnei de Souza