Change the viewer's mouse shape

Source: Internet
Author: User
Tags add file upload
Why is my mouse changed? There are often many websites on the internet, in which your mouse pointer will turn into a small picture pointer, you may find it very strange.
It's easy to achieve this effect by simply adding a file between your pages:
<style type= "Text/css" >
<!--
Body {cursor:url (' Mouse.ani ')}
-->
</style>
Of course you need to find a mouse pointer file you want to use, you can open your system disk Windows/cursors folder to find a (of course, the more lovely mouse pointer, you can download from the Internet), your selected pointer file uploaded to your site up, For example, you select the Mouse.ani file, the Mouse.ani file upload to your site on it.
This site now provides a, the following code copy to your site can be:
<body style= "Cursor:url (' Http://www.tf-studio.com/images/mouse.ani ')" >
The animation effect is the *.ani file, the static is the *.cur file.
Note: The red code above is CSS code, the role is to change the shape of the mouse: Cursor:url (' Mouse.ani '), you can add it to the original CSS code, there is no need to put the complete code added. Of course, you can also do this, add on other Tags: cursor:url (' Mouse.ani '), such as: Td{cursor:url (' Mouse.ani ')},a{cursor:url (' Mouse.ani ')} and so on.
You can also use the CSS default mouse.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.