javascript - How do I keep the cursor style the same WHEN the mouse is held down? -
this question has answer here:
- change dragging cursor 2 answers
okay, know css change cursor style in overall page... not problem. made js program paint program... when have mouse held down , have color selected paints paint area of screen. however, once hold mouse down changes looking cursor (text style may called?).
how can keep cursor pointer or default no matter happening mouse? tried researching , nothing found working. not know jquery yet, js. if has insight let me know. please understand beginner js.
thanks in advance.
'your element':active { cursor: pointer !important; }
Comments
Post a Comment