Use a CSS style sheet to control the mouse display style

Source: Internet
Author: User
Generally, the mouse is displayed with an oblique arrow. When you move the cursor over the text, it becomes a vertical line with a head. When you move the cursor over the hyperlink, it becomes a hand shape. However, css can be used to control the display effect of the mouse. For example, you can move the mouse over common text and display it as a hand shape.
The syntax controlled by css is as follows:
<Span style = "cursor: *"> text or other page elements </span>
Replace * with one of the following 15 effects:
Hand, crosshair, text, wait, default, help, e-resize, ne-resize, n-resize, nw-resize, w-resize, sw-resize, s-resize, se-resize and auto.
The following describes the 15 effects. Move the mouse over the description to see what changes have taken place with your mouse!
Hand is a hand-shaped
Crosshair is a cross type
Text is the effect of moving to text.
Wait is the effect of waiting
Default is the default effect.
Help is a question mark
E-size is the right arrow
Ne-resize is the right arrow
N-resize is the up arrow
Nw-resize is the arrow to the top left.
W-resize is the left arrow
Sw-resize is the lower left arrow
S-resize is the downward arrow
Se-resize is the right arrow
Auto is automatically provided by the system.

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.