offset-path-shape-inset-002-ref.html (561B)
1 <!doctype html> 2 <meta charset="utf-8"> 3 <title>CSS Motion Path test reference: <basic-shape> inset() path with explicit arguments and radius</title> 4 <link rel="author" title="Daniil Sakhapov" href="sakhapov@google.com"> 5 6 <style> 7 #outer { 8 top: 100px; 9 left: 100px; 10 position: relative; 11 width: 400px; 12 height: 400px; 13 } 14 #box { 15 background-color: green; 16 transform: translate(306px, 94px) rotate(45deg); 17 transform-origin: 0 0; 18 border-radius: 50% 50% 0 0; 19 width: 100px; 20 height: 100px; 21 } 22 </style> 23 24 <div id="outer"> 25 <div id="box"></div> 26 </div>