Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <title>CSS Motion Path: ray paths</title> | |
| 5 <link rel="author" title="Eric Willigers" href="mailto:ericwilligers@google. com"> | |
| 6 <link rel="help" href="https://drafts.fxtf.org/motion-1/#offset-path-propert y"> | |
| 7 <link rel="match" href="offset-path-ray-ref.html"> | |
| 8 <meta name="assert" content="This tests that ray() generates a rotation and translation."> | |
| 9 <style> | |
| 10 #target { | |
| 11 position: absolute; | |
|
pdr.
2017/05/16 22:51:19
Do these have to be position: absolute?
Eric Willigers
2017/05/17 05:47:00
left and top only have effect on positioned elemen
| |
| 12 left: 300px; | |
| 13 top: 100px; | |
| 14 width: 300px; | |
| 15 height: 200px; | |
| 16 background-color: lime; | |
| 17 transform-origin: 0px 0px; | |
| 18 offset-path: ray(150deg closest-side); | |
|
pdr.
2017/05/16 22:51:19
Naive question: when I try the examples from the s
Eric Willigers
2017/05/17 05:47:00
There are three issues.
1. The circles appear bel
| |
| 19 offset-distance: 20px; | |
| 20 } | |
| 21 </style> | |
| 22 </head> | |
| 23 <body> | |
| 24 <div id="target"></div> | |
| 25 </body> | |
| 26 </html> | |
| OLD | NEW |