OK, now I'm working. Based on css after eramus, I was able to configure it and make it work 100%. Here is the code:
.test{width: 400px; height: 200px; -webkit-transform: rotate(0deg); transition:all .2s linear; -o-transition:all .2s linear; -moz-transition:all .2s linear; -webkit-transition:all .2s linear; -webkit-transform-style: preserve-3d; } @media screen and (max-width: 319px){ .test{ background-color: orange; -moz-transform: rotate(360deg); -webkit-transform: rotate(360deg); } } @media screen and (min-width: 320px) and (max-width: 700px){ .test{ background-color: green; } } @media screen and (min-width: 701px) and (max-width: 1200px){ .test{ background-color: red; -moz-transform: rotate(360deg); -webkit-transform: rotate(360deg); } } @media screen and (min-width: 1201px){ .test{ background-color: blue; } }
Of course, you need to add other provider prefixes. When you animate a property, you need to specify the start and end state. Thus, it seems that the exception from the conversion will be reset for property 0.
source share