How to change background color regarding position of the cursor

时间:2019-05-31 11:42:34

标签: background position cursor

I have the following problem: How to write javascript code, when I move the cursor on the first third of the display, to change the background color. When it's the second or third part of the display, to change the background color. I need three different colors regarding the position of the cursor.

0 个答案:

没有答案