ITeye博客

如何实现div拖拽时出现辅助线,以方便和其它div很容易的对齐。

卓越在于专注 · 2013-09-07 00:19 · web前端页面设计 · Web前端 · Markdown

#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>

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。