grab cursor in windows chrome

2019-08-14 08:59发布

问题:

I am getting two cursors in windows chrome version 31.0.1650.57 The two cursor are grab and a default arrow. I have used below CSS

CSS

div {
    width:200px;
    height:200px;
    background-color:maroon;
    border:1px solid #000;
    cursor:grab;
    cursor:-moz-grab;
    cursor:-webkit-grab;
}

Fiddle - http://jsfiddle.net/jL9ft/

Please let me know what is wrong here. Thanks.

回答1:

Used cursor as image from here - http://www.google.com/intl/en_ALL/mapfiles/openhand.cur

div {
   cursor:url(../images/openhand.cur) 4 4, move
}


标签: html css cursor