<!DOCTYPe html> | |
<meta charset='utf-8'> | |
<title>drag and drop – feedback overlay for heavily styled elements – 002</title> | |
<style> | |
a { | |
display: block; | |
height: 200px; | |
width: 200px; | |
background-color: blue; | |
outline: 10px solid orange; | |
} | |
</style> | |
<p>Drag the blue box below downwards. The drag placeholder should resemble the blue box. It may optionally also include include the orange border.</p> | |
<a href='#' draggable="true" ondragstart="event.dataTransfer.effectAllowed ='copy'"></a> |