Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CSS custom cursors for rotation

Tags:

html

css

I know you can define some custom cursors in CSS like the re-size cursors and such, but I am trying to use the "rotate" cursors for the four different corners. The ones that are bent at a 90 degree depending on what corner you are hovering over.

Any ideas how to do this in CSS?

Thanks

like image 810
jomille Avatar asked Feb 28 '26 18:02

jomille


1 Answers

Try to add invisible divs to your corners and define custom cursor for each div. The useful article: http://beradrian.wordpress.com/2008/01/08/cross-browser-custom-css-cursors/

Example with crossbrowser code:

cursor: url(cursor.cur),url(cursor/cursor.cur),default;
like image 123
silex Avatar answered Mar 03 '26 10:03

silex



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!