在线文档教程

偏移旋转 | offset-rotate

偏移-旋转

这是一种实验技术

由于该技术的规格不稳定,请查看各种浏览器的兼容性表格以供使用。另外请注意,随着规范的变化,实验技术的语法和行为在未来版本的浏览器中可能会发生变化。

草案

此页未完成。

offset-rotateCSS属性定义元件的方向而沿着所述偏移路径定位。

如果给定了“auto” ,offset-rotate,则元素将按照定义的路径旋转offset-path

该规范的早期版本称为此属性motion-rotation

{cssinfo}

语法

TBD

形式语法

[ auto | reverse ] || <angle>

实例

TBD

规范

SpecificationStatusComment
Motion Path Module Level 1The definition of 'offset-rotate' in that specification.Working DraftInitial definition

浏览器兼容性

FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support46.0 (as motion-rotation) 55.0 (as offset-rotation) 56.0 (as offset-rotate) 1No supportNo supportNo supportNo support

FeatureAndroidAndroid WebviewFirefox Mobile (Gecko)Firefox OSIE MobileOpera MobileSafari MobileChrome for Android
Basic supportNo support46.0 (as motion-rotation) 55.0 (as offset-rotation) 56.0 (as offset-rotate) 1No supportNo supportNo supportNo supportNo support46.0 (as motion-rotation) 55.0 (as offset-rotation) 56.0 (as offset-rotate) 1