How to organize the possibility of dragging the blue box on the block-2 while pressing the left mouse button?
Page frame:
.block-1 { width:100px; height:100px; background-color:red; float:left; } .block-2 { float:right; width:100px; height:100px; background-color:red; } .box { width:50px; height:50px; background-color:green; } <div class="block-1"> <div class="box"></div> </div> <div class="block-2"></div>