---
title: "鼠标指针样式自定义控制"
author: "keimon"
date: "2013-09-22T11:17:13Z"
tags: ["CSS"]
categories: ["Web前端"]
slug: "untitled"
draft: false
lastmod: "2013-09-22T11:17:56Z"
id: 1944789
url: "https://keimon.iteye.com/blog/1944789"
---

&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;  
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;  
&lt;head&gt;  
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;  
&lt;title&gt;无标题文档&lt;/title&gt;  
&lt;style&gt;  
.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;}  
&lt;/style&gt;  
&lt;/head&gt;

&lt;body&gt;  
&lt;div class="wrap"&gt;  
   &lt;div class="cursor\_pre pre"&gt;  
       向前  
   &lt;/div&gt;  
   &lt;div class="box content"&gt;  
       内容  
   &lt;/div&gt;  
   &lt;div class="cursor\_next next"&gt;  
       向后  
   &lt;/div&gt;  
&lt;/div&gt;  
&lt;/body&gt;  
&lt;/html&gt;