blob: 4fc40cb0f848a659cf849f45e4aeabe740947d9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<!DOCTYPe html>
<meta charset='utf-8'>
<title>drag and drop – draggable areas – box-shadow</title>
<style>
a {
display: block;
height: 200px;
width: 200px;
background-color: blue;
box-shadow: 10px 10px 0 orange;
}
</style>
<p>Try dragging the orange area along the sides of the blue box below. It should <em>not</em> be draggable.</p>
<a href='#' draggable="true" ondragstart="event.dataTransfer.effectAllowed ='copy'"></a>
|