Can a transformation be used as the value of a transition property?
transition-property: transform;
The W3C transition standard does not display the transformation as an Animated value.
In fact, the W3C conversion standard has a missing row for Animatable: Yes / No in table 7. The transform property.
I worry that this is legal or not.
Stack Overflow
I can get the transformation animation using the 0% and 100% keyframe, but if only 2 states are involved, I would prefer the transition instead of the animation.
You must specify the exact name for each engine. So, for example, for Safari and Chrome you should write the following:
Safari
Chrome
-webkit-transition-property: -webkit-transform;
Here is a working example in JSFiddle .Note. I used shorthand for the transform property.
transform
It seems you can, however I'm not too sure about cross-browser compatibility. You can play with him here . Using the code already provided, when you hover over the red frame, it moves.
Source: https://habr.com/ru/post/1489299/More articles:Connection Access Control Skip (node.js) - node.jsIs there a circular next () in jquery? - jqueryDjango url pattern regex to pass email as parameter in url - pythonNavigationBar UIPageViewController does not display title - iosCURL does not work for XML request using SOAP - soaphttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1489300/cannot-add-objects-to-globalinterfacetable-during-ado-async-callback&usg=ALkJrhhDuIViiocsc9n_gSLlsulgXncnIAAn element does not receive a selection if the highest priority directive does not have one - angularjsUnderscore contains based on object properties - javascriptHow to pass an ADO recordset (or any COM object) across thread boundaries? - delphiVHDL Edge Detection - vhdlAll Articles