blob: 1b6f8e95576fba1c0c5411add8e8fd249dfde507 (
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 – border</title>
<style>
a {
display: block;
height: 200px;
width: 200px;
background-color: blue;
border: 10px solid orange;
}
</style>
<p>Try dragging the orange border of the blue box below, in a downwards direction. It should be draggable.</p>
<a href='#' draggable="true" ondragstart="event.dataTransfer.effectAllowed ='copy'"></a>
|