zoukankan      html  css  js  c++  java
  • 将光标改变为手指

    将光标改变为手指

    cursor:hand cursor:pointer

    cursor:hand  IE完全支持,但是在Firefox是不支持的,木有效果。

    cursor:pointer 是CSS2.0的标准,所以Firefox是支持的,但是IE5.0及之前的版本不支持。IE6开始支持。(建议使用,但是也可以两个一起写)

    cursor:hand;
    cursor:pointer;

    附上:cursor属性收集

    十字准心 cursor: crosshair; 
    手 cursor: pointer; cursor: hand; 
    写两个是为了照顾IE5,应为它只认hand。 
    等待/沙漏 cursor: wait; 
    帮助 cursor: help; 
    无法释放 cursor: no-drop; 
    文字/编辑 cursor: text; 
    可移动对象 cursor: move; 
    向上改变大小(North) cursor: n-resize; 
    向下改变大小(South) cursor: s-resize; 
    向右改变大小(East) cursor: e-resize; 
    向左改变大小(West) cursor: w-resize; 
    向上右改变大小(North East) cursor: ne-resize; 
    向上左改变大小(North West) cursor: nw-resize; 
    向下右改变大小(South East) cursor: se-resize; 
    向下左改变大小(South West) cursor: sw-resize; 
    自动 cursor: auto; 
    禁止 cursor:not-allowed; 
    处理中 cursor: progress; 
    系统默认 cursor: default; 
    用户自定义(可用动画) cursor: url(‘ # ‘); 
    # = 光标文件地址 (注意文件格式必须为:.cur 或 .ani)。 


     

  • 相关阅读:
    ubuntu13.04中把ibus中的中文拼音输入设为默认
    PHP中获取星期的几种方法
    linux 指令(经常更新)
    手机禁止浏览器往下拉
    Linux常用命令大全
    flask之SQLAlchemy
    【原创】微服务为什么一定要用docker
    flask3
    nginx+uWSGI+django+virtualenv+supervisor发布web服务器
    flask之jinji2模板介绍
  • 原文地址:https://www.cnblogs.com/caitangbutian/p/11335077.html
Copyright © 2011-2022 走看看