css cursor自訂

來源:互聯網
上載者:User
cursor:url(http://localhost/d2/matches.cur),url(http://localhost/d2/matches.cur),n-resize;

  

1.IE6也支援cursor屬性的URL值,然而,IE只支援CUR和ANI的格式。
2.IE不支援CSS3的座標。這時候游標圖片將被忽略。
3.Firefox1.5 (Gecko1.8), Windows and Linux和Safari3.0 (Webkit522-523)支援.cur | .png | .gif | .jpg和xy座標值。
4.Firefox4.0 (Gecko2.0)支援.cur | .png | .gif | .jpg | .svg,(Gecko 2.0)支援xy座標值。
5.opera不支援。

cur檔案必須為32*32,否則個瀏覽器表現差異很大

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.