相抵距离 | offset-distance (Motion Path) - CSS 中文开发手册
这是一种实验技术
由于该技术的规格不稳定,请查看各种浏览器的兼容性表格以供使用。另外请注意,随着规范的变化,实验技术的语法和行为在未来版本的浏览器中可能会发生变化。
草案
此页未完成。
该offset-distanceCSS属性指定沿的位置offset-path。
该规范的早期版本称为此属性motion-offset。
语法
TBD
形式语法
<length-percentage>where <length-percentage> = <length> | <percentage>
实例
TBD
规范
Specification | Status | Comment |
---|---|---|
Motion Path Module Level 1The definition of ‘offset-distance‘ in that specification. | Working Draft | Initial definition |
浏览器兼容性
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | 46.0 (as motion-offset) 55.0 (as offset-distance) | No support | No support | No support | No support |
Feature | Android Webview | Chrome for Android | Firefox Mobile (Gecko) | Firefox OS | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|---|
Basic support | 46.0 (as motion-offset) 55.0 (as offset-distance) | 46.0 (as motion-offset) 55.0 (as offset-distance) | No support | No support | No support | No support | No support |