用户登陆:
设为首页 | 加入收藏 | 全站地图
您现在的位置: 星星雨设计站 >> 网络学院 >> 网页设计 >> CSS教程 >> 教程正文
CSS鼠标样式
作者:佚名    教程来源:本站原创    点击数:    更新时间:2008-1-4

CSS cursor 属性

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: 点状鼠标
    • move: 移动鼠标
    • e-resize,ne-resize,nw-resize,n-resize,se-resize,sw-resize,s-resize,w-resize: 改变大小鼠标
    • text: 文字鼠标
    • wait: 等待鼠标
    • help: 求助鼠标
    • progress:过程鼠标
    • inherit: 继承
  • 初始值: auto
  • 继承性: 是
  • 适用于: 所有元素
  • cursor: 鼠标.

 

示例

p#auto
{ 
	cursor:auto;
}

p#text
{ 
	cursor:text;
}

p#wait
{ 
	cursor:wait;
}

p#help
{ 
	cursor:help;
}

p#progress
{ 
	cursor:progress;
}

发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口教程录入:冰河    责任编辑:冰河 
  • 上一篇教程:

  • 下一篇教程:
  • 精彩视频
    最新热门
    | 设为首页 | 加入收藏 | 联系站长 | 友情链接 | 版权申明