实现方块的拖拽 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>实现方块的拖拽</title> <style type="text/css"> #box1{ width: 100px; height: 100px; background-color: red; position: absolute; } #box2{ width: 100px