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>
    

      

  • 相关阅读:
    模拟实现ajax加载框
    京东晒单的js实现
    微信分享js代码(转载)
    css模拟实现selec下拉框
    网页端实现输入卡号四字隔开
    返回顶部的动态显示与隐藏
    js等比例缩放图片(转载)
    css模拟实现checkbox
    quartz的使用 Mr
    Spring声明式事务配置管理方法 Mr
  • 原文地址:https://www.cnblogs.com/bluealine/p/7918805.html
Copyright © 2011-2022 走看看