How to reference inline svg as cursor in css style?

后端 未结 1 1158
北海茫月
北海茫月 2021-01-14 19:42

how to reference an inline svg as cursor?

In the code attach, first cursor declaration \"cursor:pointer\" an second (png) works without problems.

Third decl

1条回答
  •  礼貌的吻别
    2021-01-14 19:56

    It works once I cleaned up the syntax a little i.e. the extraneous brackets and semicolons.

    The cursor is the one you provided.

    .boton {
      cursor: url('data:image/svg+xml;utf8,'), auto;
    }
    
    
    
       
    

    0 讨论(0)
提交回复
热议问题