Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

html change cursor style to pen [duplicate]

Tags:

html

css

 style="cursor:"

Is that possible change the mouse cursor to pen?

I only found few style from the google:

 <span style="cursor:auto">auto</span><br>
    <span style="cursor:crosshair">crosshair</span><br>
    <span style="cursor:default">default</span><br>
    <span style="cursor:e-resize">e-resize</span><br>
    <span style="cursor:grab">grab</span><br>
    <span style="cursor:help">help</span><br>
    <span style="cursor:move">move</span><br>
    <span style="cursor:n-resize">n-resize</span><br>
    <span style="cursor:ne-resize">ne-resize</span><br>
    <span style="cursor:nw-resize">nw-resize</span><br>
    <span style="cursor:pointer">pointer</span><br>
    <span style="cursor:progress">progress</span><br>
    <span style="cursor:s-resize">s-resize</span><br>
    <span style="cursor:se-resize">se-resize</span><br>
    <span style="cursor:sw-resize">sw-resize</span><br>
    <span style="cursor:text">text</span><br>
    <span style="cursor:w-resize">w-resize</span><br>
    <span style="cursor:wait">wait</span><br>
    <span style="cursor:not-allowed">not-allowed</span><br>
    <span style="cursor:no-drop">no-drop</span><br>

I need pen style because I want when user mouseover to the convas div, I want user sign on the field

like image 537
KyLim Avatar asked Nov 15 '16 06:11

KyLim


People also ask

How do you change your cursor to pencil?

There's a pen cursor under the old control panel>Mouse>Pointers scroll down & you should be able to find a cursor which resembles a pen, change this to any cursor you want.


1 Answers

You can use custom cursors: Below code will give you an idea

body {
 cursor: url('some-cursor.ico'), default;
}
like image 94
Azeez Kallayi Avatar answered Sep 30 '22 04:09

Azeez Kallayi