CSS custom cursors for rotation

I know that you can define some custom cursors in CSS, such as size cursors, etc., but I'm trying to use the “rotate” cursors for four different angles. Those that are bent 90 degrees depending on which corner you are hanging in.

Any ideas how to do this in CSS?

thank

+3
source share
2 answers

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

Example with cross-browser code:

cursor: url(cursor.cur),url(cursor/cursor.cur),default;
+2
source

This is a list of the basic cursor style in CSS work in CSS2 (IE 4+), as well as a CSS3 cursor.

http://www.worldtimzone.com/mozilla/testcase/css3cursors.html

0
source

All Articles