JavaScript Move Element by Draging


Author: yifei / Created: June 11, 2017, 7:20 p.m. / Modified: June 11, 2017, 7:23 p.m. / Edit

see: https://stackoverflow.com/questions/6230834/html5-drag-and-drop-anywhere-on-the-screen

but you also need to set -webkit-user-drag: element; to the element.


评论区