tor-browser

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

border-radius.html (598B)


      1 <!DOCTYPe html>
      2 <meta charset='utf-8'>
      3 <title>drag and drop – draggable area boundaries, border-radius</title>
      4 <style>
      5 a {
      6  display: block;
      7  height: 200px;
      8  width: 200px;
      9  background-color: blue;
     10  border-radius: 100px;
     11 }
     12 div {
     13  border: 1px solid black;
     14  height: 200px;
     15  width: 200px;
     16 }
     17 </style>
     18 
     19 <ol>
     20 <li>Try dragging the white area within the black square, outside the blue
     21 circle. It should <em>not</em> be draggable.</li>
     22 <li>Drag the blue circle below. It should be draggable.</li>
     23 </ol>
     24 
     25 <div><a draggable="true" ondragstart="event.dataTransfer.effectAllowed ='copy'"></a></div>