Reputation: 171
I wanna change the size of an element by mouse(or touch in mobile) using javascript ( pure javascript or css ,that's better if possible). And it must be very smooth both in mobile and desktop(I wanna do an online editor,smooth is importnat).
And I know one way to do that using jquery:
$( "#resizable" ).resizable();
});
I wonder how to do that effect in pure js or css only? or do you have a more efficient way to do that in an online editor using just html and javascript?
Upvotes: 0
Views: 615
Reputation: 590
You Can use the code from the below link and use it as your requirements
Upvotes: 1