+ 1

Cursor resize

For what the resize values are used in cursor property?

23rd Feb 2017, 2:53 PM
Haweris Warraich
Haweris Warraich - avatar
3 ответов
+ 3
You can't handle cursor size ( in Html context ), but you can set its appearance... that's the purpose of the css 'cursor' property. 'resize' show a cursor meaning that the user can resize an element, but you need to implement this behavior ^^ However, there is a tip to replace the cursor with whatever you want ( so, you can "resize" it ): Hide the cursor with 'none' value, and set a mouse move handler to display an html element in 'fixed' position ( the css property -- ie: position relatively to the viewport ^^ ) at hidden mouse position...
24th Feb 2017, 11:30 PM
visph
visph - avatar
+ 1
I think you cant resize the mouse cursor for security reasons but you can change the look of it https://www.w3schools.com/cssref/pr_class_cursor.asp
23rd Feb 2017, 7:30 PM
Melvin2204old
Melvin2204old - avatar
0
good question!! I'll learn how to resize cursor
23rd Feb 2017, 5:41 PM
meherDev
meherDev - avatar