P
P
Pavel Kityan2014-03-29 23:36:27
css
Pavel Kityan, 2014-03-29 23:36:27

How to make rotation animation (CSS3) the same in Chrome and Firefox?

Here's an example: jsfiddle.net/kityan/3LGYZ Rotation
angles: 0 -100 400.
Firefox and IE behave the same: rotate counterclockwise by -100 and then to position 40 clockwise.
Even though 400 includes a full turn, it doesn't.
Chrome makes a full turn as it should!
The difference, apparently, is in two things: from what position they consider the transformation matrix - this is in relation to the transformation itself. And also in the animation itself - whether to take full turns into account during rotation or not ... Or is it just animation?
Is it somehow possible to bring it to a cross-browser view using CSS3?
PS And a follow-up question: why can't the animation be applied without reloading the second time?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
E
Evgeny Nizamiev, 2014-03-30
@bookworm

Remove scale(0.5) from the line.
It is necessary to write down either separated by a comma or put on a new line

V
Vitaly Inchin ☢, 2015-08-08
@In4in

Google OnePage or FullPage - JavaScript plugins.
UPD: I noticed an interesting thing - from tablets on Windows, the wrong one, the wrong one does not show signs of life.
UPD2: But Scrollify works.

A
Alexey Ukolov, 2015-08-08
@alexey-m-ukolov

alvarotrigo.com/fullPage

A
Arthur, 2015-08-08
@astralo

If everything is non-standard - Scrollify can help

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question