开发者

CSS Cursor code - apparently wrong syntax

开发者 https://www.devze.com 2023-02-16 04:07 出处:网络
I tried to insert the following line of code in an external CSS stylesheet, but my Error Cons开发者_运维百科ole told me there was an error parsing value for property \'cursor\':

I tried to insert the following line of code in an external CSS stylesheet, but my Error Cons开发者_运维百科ole told me there was an error parsing value for property 'cursor':

cursor: url(JC_puzzle_piece.cur) !important;

Is this not the proper syntax? If so, then what is?


You need to provide a fallback preset value in case the cursor file isn't found. See a list of presets here.

cursor: url(JC_puzzle_piece.cur), default !important;
0

精彩评论

暂无评论...
验证码 换一张
取 消