Home  >  Article  >  Web Front-end  >  How to create a web page mouse pointer style

How to create a web page mouse pointer style

一个新手
一个新手Original
2017-09-18 10:29:442429browse

更改网页鼠标样式是一个很简单实用的小技巧
一般常用到的就是以下两种

更改默认样式

body
{
	cursor:url(img/moe.cur),auto;
	
	}


更改指向超链接的样式

a
{
	cursor:url(img/moe.cur),auto;
	
	}


注:url()里面的地址既没有‘’也没有“”,auto必须写上去。

The above is the detailed content of How to create a web page mouse pointer style. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn