I am trying to make a chess game in react-js using react-dnd
I am trying to make draggable and droppable png images between different div(which represents the board squares)
I tried to set the opacity of the image background-color to 0 but it doesn't work
The problem is that images take the square background-color when i drag them Is it possible to remove it from the dragging image ? If not is there another drag and drop library that makes it possible ?
you can add css style to your draggable element:
transform: translate(0, 0);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With