CSS - motion
Example
TBD
Syntax
TBD
Formal syntax
CSS
Copy Code
<a href="css/motion-path" title="<url> | [ <basic-shape> | <path()> ] || <geometry-box> | none"><'motion-path'></a> <a href="css/value_definition_syntax#double_ampersand" title="Double ampersand">&&</a> <a href="css/motion-offset" title="<length> | <percentage>"><'motion-offset'></a> <a href="css/value_definition_syntax#double_ampersand" title="Double ampersand">&&</a> <a href="css/motion-rotation" title="[ auto | reverse ] && <angle>"><'motion-rotation'></a>
Description
This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.
Draft
This page is not complete.
The motion
CSS property is a shorthand property for animating an element along a defined path.
Initial value | as each of the properties of the shorthand:
|
---|---|
Applies to | all elements; In SVG, it applies to container elements excluding the <defs> element and all graphics elements |
Inherited | no |
Percentages | as each of the properties of the shorthand:
|
Media | visual |
Computed value | as each of the properties of the shorthand:
|
Animatable | no |
Canonical order | order of appearance in the formal grammar of the values |
Creates stacking context | yes |
Browser Compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | 46.0 | No support | No support | No support | No support |
Feature | Android | Android Webview | Firefox Mobile (Gecko) | Firefox OS | IE Mobile | Opera Mobile | Safari Mobile | Chrome for Android |
---|---|---|---|---|---|---|---|---|
Basic support | No support | 46.0 | No support | No support | No support | No support | No support | 46.0 |
Specifications
Specification | Status | Comment |
---|---|---|
Motion Path Module Level 1 The definition of 'motion' in that specification. |
Working Draft | Initial definition |
License
© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/css/motion