Closed mahitaande closed 9 years ago
Yes, you can do this very well even:
dragging
, so feel free to play around with that. The semi-transparent 'preview' of the widget's new position is class preview-holder
, which can be customised as well.left .3s, top .3s
, like this one:.ready .gs-w:not(.preview-holder) {
-webkit-transition: opacity .3s, left .3s, top .3s;
-moz-transition: opacity .3s, left .3s, top .3s;
-o-transition: opacity .3s, left .3s, top .3s;
transition: opacity .3s, left .3s, top .3s;
}
When you remove left .3s, top .3s
(without breaking the code), it'll snap in nicely.
You can also overwrite the styling fairly simple: http://jsfiddle.net/b0ndt/v7duxydd/ (this is cleaner than changing core files).
Thank you for the response. The suggested style change works beautifully.
Hi, I like how the drag drop is organised in gridster. I would like to know if the style for drag and drop can be customized. The style I am trying to achieve is
Thanks