如何实现div拖拽时出现辅助线,以方便和其它div很容易的对齐。
#bbb { position: fixed; background-color: green; height: 150px; width: 150px; top: 200px; left: 400px; }
#mm,#nn { position: absolute; display: none; }
Drag me around
</div>
<div id="bbb">
align me around
</div>
</body>