offset-path-ray-008-ref.html (443B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Motion Path: ray paths</title> 5 <style> 6 #container { 7 width: 200px; 8 height: 200px; 9 } 10 #target { 11 position: relative; 12 left: 130%; 13 top: 60%; 14 width: 40px; 15 height: 40px; 16 background-color: lime; 17 } 18 </style> 19 </head> 20 <body> 21 <div id="container"> 22 <div id="target"></div> 23 </div> 24 </body> 25 </html>