css
border: 1px solid blue
 
Good default font: font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
events for drag & drop
dragstart
fired on element that user started to drag (must be draggable=true)
dragenter
fired during dragging when entering an element
dragleave
fired during dragging when leaving an element
dragover
fired periodically during dragging when over an element
drop
fired when dropping on an element
 
must event.preventDefault() on those
Go to index of articles.

Share on