A
A
Absky2019-07-11 11:49:25
css
Absky, 2019-07-11 11:49:25

Why can't animation work in IE 11?

There is a keyframe with changing the position of an absolutely positioned element during animation, takes in position through variables:

@keyframes #{$name} {
    0% {
      top: #{$i}rem;
      left: #{$e}rem;
    }
    50% {
      top: calc(#{$i}rem + #{$c}rem);
      left: calc(#{$e}rem + #{$b}rem);
    }
    100% {
      top: #{$i}rem;
      left: #{$e}rem;
    }
  }

In ff and chrome wins back, in ie it stands still. Why?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
A person from Kazakhstan, 2019-07-11
@Absky

https://caniuse.com/#search=animate
5d26f89e7c5c5725657642.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question