`
keimon
  • 浏览: 72858 次
  • 性别: Icon_minigender_2
  • 来自: 上海
社区版块
存档分类
最新评论

鼠标指针样式自定义控制

css 
阅读更多

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style>
.box{cursor: url(zoom.cur), auto; }
.cursor_pre {cursor: url(pre.cur), auto;}
.cursor_next {cursor: url(next.cur), auto;}

.wrap{overflow:hidden; zoom:1; width:206px;}
.pre{width:50px; height:100px; border:1px solid #000; float:left;}
.next{width:50px; height:100px; border:1px solid #000; float:right;}
.content{width:100px; height:100px; border:1px solid #000; float:left;}
</style>
</head>

<body>
<div class="wrap">
   <div class="cursor_pre pre">
       向前
   </div>
   <div class="box content">
       内容
   </div>
   <div class="cursor_next next">
       向后
   </div>
</div>
</body>
</html>

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics