offset-path-path-interpolation-ref.html (435B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>offset-path path interpolation reference</title> 5 <style> 6 #target { 7 position: absolute; 8 left: 300px; 9 top: 0px; 10 width: 300px; 11 height: 200px; 12 background-color: lime; 13 transform-origin: 0px 0px; 14 offset-path: path("M 100 150 L 200 150"); 15 } 16 </style> 17 </head> 18 <body> 19 <div id="target"></div> 20 </body> 21 </html>