zoukankan      html  css  js  c++  java
  • CSS cursor 属性--css html 鼠标手型,鼠标形状,鼠标效果,样式

    css鼠标手型cursor中hand与pointer  
    Example:CSS鼠标手型效果 <a href="#" style="cursor:hand">CSS鼠标手型效果</a><br/>  
    Example:CSS鼠标手型效果 <a href="#" style="cursor:pointer">CSS鼠标手型效果</a><br/>  
    注:pointer也是小手鼠标,建议大家用pointer,因为它可以兼容多种浏览器。<br/>  
    Example:CSS鼠标由系统自动给出效果 <a href="#" style="cursor:auto">CSS鼠标由系统自动给出效果</a><br/>  
    Example:CSS鼠标十字型 效果 <a href="#" style="cursor:crosshair">CSS鼠标十字型 效果</a><br/>  
    Example:CSS鼠标I字型效果 <a href="#" style="cursor:text">CSS鼠标I字形效果</a><br/>  
    Example:CSS鼠标等待效果 <a href="#" style="cursor:wait">CSS鼠标等待效果</a><br/>  
    Example:CSS鼠标默认效果 <a href="#" style="cursor:default">CSS鼠标默认效果</a><br/>  
    Example:CSS鼠标向右的箭头效果 <a href="#" style="cursor:e-resize">CSS鼠标向右的箭头效果</a><br/>  
    Example:CSS鼠标向右上箭头效果 <a href="#" style="cursor:ne-resize">CSS鼠标向右上箭头效果</a><br/>  
    Example:CSS鼠标向上箭头效果 <a href="#" style="cursor:n-resize">CSS鼠标向上箭头效果</a><br/>  
    Example:CSS鼠标向左上箭头效果 <a href="#" style="cursor:nw-resize">CSS鼠标向左上箭头效果</a><br/>  
    Example:CSS鼠标向左箭头效果 <a href="#" style="cursor:w-resize">CSS鼠标向左箭头效果</a><br/>  
    Example:CSS鼠标向左下箭头效果 <a href="#" style="cursor:sw-resize">CSS鼠标向左下箭头效果</a><br/>  
    Example:CSS鼠标向下箭头效果 <a href="#" style="cursor:s-resize">CSS鼠标向下箭头效果</a><br/>  
    Example:CSS鼠标向右下箭头效果 <a href="#" style="cursor:se-resize">CSS鼠标向下箭头效果</a><br/>  
    

     CSS cursor 属性

    <html>
    
    <body>
    <p>请把鼠标移动到单词上,可以看到鼠标指针发生变化:</p>
    <span style="cursor:auto">
    Auto</span><br />
    <span style="cursor:crosshair">
    Crosshair</span><br />
    <span style="cursor:default">
    Default</span><br />
    <span style="cursor:pointer">
    Pointer</span><br />
    <span style="cursor:move">
    Move</span><br />
    <span style="cursor:e-resize">
    e-resize</span><br />
    <span style="cursor:ne-resize">
    ne-resize</span><br />
    <span style="cursor:nw-resize">
    nw-resize</span><br />
    <span style="cursor:n-resize">
    n-resize</span><br />
    <span style="cursor:se-resize">
    se-resize</span><br />
    <span style="cursor:sw-resize">
    sw-resize</span><br />
    <span style="cursor:s-resize">
    s-resize</span><br />
    <span style="cursor:w-resize">
    w-resize</span><br />
    <span style="cursor:text">
    text</span><br />
    <span style="cursor:wait">
    wait</span><br />
    <span style="cursor:help">
    help</span>
    </body>
    
    </html>
    

      

  • 相关阅读:
    做人做事
    不骄不躁
    争取
    收入
    Windows 7下的Comodo Firewall免费防火墙
    成功水平
    成家立业
    Windows无法安装到GPT格式磁盘的根本解决办法
    安装Windows10操作系统
    安装操作系统的几种方式
  • 原文地址:https://www.cnblogs.com/bluealine/p/7918805.html
Copyright © 2011-2022 走看看