Case
Case

Reputation: 4272

Change where mouse is actually clicking

Is it possible with CSS to tell the browser that with this new cursor that the click point is not actually at 0x0y but actually 3x-20y.

Looking though all of the options, I did not see one to do such a thing. http://www.w3schools.com/cssref/pr_class_cursor.asp

This would be helpful to be used in conjunction with either

Javascript library to Change cursor color

OR

cursor: url();

Upvotes: 1

Views: 37

Answers (1)

TinMonkey
TinMonkey

Reputation: 1842

css3 supports this... cursor: url(curser.cur) 3 -20, auto; The .cur format also embeds the hotspot...

This has already been covered in length here: link

Upvotes: 2

Related Questions