HTML5 Drag and Drop - No transparency?

后端 未结 12 1868
青春惊慌失措
青春惊慌失措 2020-12-05 02:00

When I drag and drop an element on my page the element becomes \"ghosted\". Basically it gets some transparency value.

Is there some way to make it opacity: 1;

12条回答
  •  抹茶落季
    2020-12-05 02:31

    If you are not dragging and dropping elements from outside of the web page (from the operating system) then you could solve this problem easily by implementing your own drag and drop. There are numerous examples of pure javascript drag and drop which will function perfectly in an HTML5 environment and would be completely customizable by you.

    answer: (use the old way)

提交回复
热议问题