056-manual.html (530B)
1 <!DOCTYPE html> 2 <?xml version="1.0" encoding="utf-8"?> 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 <head> 5 <title>Drag feedback for partly visible element: fixed position</title> 6 <style type="text/css"> 7 div 8 {position:fixed; 9 top:-150px; 10 left:-150px; 11 height:200px; 12 width:200px; 13 background-color:navy;} 14 p 15 {margin-top:100px;} 16 </style> 17 </head> 18 <body> 19 <div draggable="true" ondragstart="event.dataTransfer.effectAllowed = 'copy'"></div> 20 <p>Try to drag blue box above. Feedback overlay should be square.</p> 21 </body> 22 </html>