Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
div をオフのライトのように見せようとしていますが、マウスが動くとライトが点灯します。
マウスの動きでライトが点灯する部分ができました。このフィドルを見てください。
jQuery コード:
$(document).mousemove(function() { $('div').addClass('glow'); });
私はそれについて2つの質問があります
ドキュメントの代わりに「本文」を入力すると、機能しません。なぜですか?
マウスの停止を検出するにはどうすればよいですか?