Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make an item "draggable" using html?

Tags:

html

css

Is there a way to just use html to make an item draggable? (not just classifying an element as draggable)

like image 374
natas Avatar asked Feb 26 '26 19:02

natas


1 Answers

No, you'll need to use javascript.

jQuery is very popular javascript framework which does a lot of the heavy lifting for you. Here are the docs for their draggable component.

like image 50
Kirschstein Avatar answered Mar 01 '26 09:03

Kirschstein