+ 2
How to make a div with 'd1' id draggable, please describe with the codes
2 Answers
+ 3
You can make draggable divs with "InteractJS", I haven't learned that yet but it was cool. check it. đ
+ 3
<style>
#d1{
overflow: scroll;
resize: both;
max-width: 300px;
max-height: 460px;
}
#d1[draggable=true] {
cursor: move;
}
</style>
<div id="d1" draggable="true"> test </div>