tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

offset-path-shape-xywh-003.html (780B)


      1 <!doctype html>
      2 <meta charset="utf-8">
      3 <title>CSS Motion Path test: offset-path:xywh() path with explicit arguments and padding-box</title>
      4 <link rel="match" href="offset-path-shape-xywh-003-ref.html">
      5 <link rel="help" href="https://drafts.fxtf.org/motion/#valdef-offset-path-basic-shape">
      6 <link rel="help" href="https://drafts.csswg.org/css-shapes-1/#funcdef-basic-shape-xywh">
      7 
      8 <style>
      9 #outer {
     10  top: 100px;
     11  left: 100px;
     12  position: relative;
     13  width: 200px;
     14  height: 100px;
     15  padding: 50px;
     16  border: 50px solid black;
     17 }
     18 #box {
     19  background-color: green;
     20  position: relative;
     21  offset-path: xywh(10% 10% 90% 90%) padding-box;
     22  offset-distance: 40%;
     23  border-radius: 50% 50% 0 0;
     24  width: 100px;
     25  height: 100px;
     26 }
     27 </style>
     28 
     29 <div id="outer">
     30  <div id="box"></div>
     31 </div>