offset-path-coord-box-004-ref.html (429B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Motion Path: path(geometry-box) paths</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 transform: translate(-300px, 0px); 15 } 16 </style> 17 </head> 18 <body> 19 <div id="target"></div> 20 </body> 21 </html>