I'm trying to change a keyframe CSS
, actually do an update, but I'm not getting concatenar
variables CSS
to javaScript
.
The ideia
, in fact, is neither change. But, inserir no final do keyframe
lines created
How do I fix this?
tMin = 0;
tMax = 20;
tempoImagens = 20;
$("@keyframe animacao").css({
tMin + "% : margin-left:-" + tempoImagens + "%",
tMax + "% : margin-left:-" + tempoImagens + "%"
});
You are giving concatenation error.
tMin + "% :