cursor 鼠標樣式——屬性

  • 取值: [ [<uri> ,]* [ auto | crosshair | default | pointer | move | e-resize | ne-resize | nw-resize | n-resize | se-resize | sw-resize | s-resize | w-resize | text | wait | help | progress ] ] | inherit
    • [<uri> ,]*: 根據用戶定義的資源顯示
    • auto: 正常鼠標
    • crosshair: 十字鼠標
    • default: 默認鼠標
    • pointer: 點狀鼠標(hand,寫兩個是爲了照顧IE5,它只認hand。)
    • move: 移動鼠標
    • e-resize(East),ne-resize(North East),nw-resize(North West),n-resize(North),se-resize(South East),sw-resize(South West),s-resize(South),w-resize(West): 改變大小鼠標
    • text: 文字鼠標
    • wait: 等待鼠標
    • help: 求助鼠標
    • progress: 過程鼠標,處理中
    • inherit: 繼承
    • no-drop:沒法釋放,不可拖動
    • not-allowed:禁止
    •  url(' # ');# = 光標文件地址      (注意文件格式必須爲:.cur 或 .ani或者.png)。注意:在定義完自定義的遊標以後在末尾加上通常性的遊標,以防那些url所定義的遊標不能使用
    • 注意:要加上默認樣式
相關文章
相關標籤/搜索