CSS mouse pointer cursor style

Source: Internet
Author: User

Reference Source: W3school

Sometimes we need to set a specific mouse pointer style in the CSS layout, which can be done by setting the cursor:

URL: The URL of the custom cursor you want to use.

Note: Always define a normal cursor at the end of this list in case there are no available cursors defined by the URL;

Default: Cursor (usually an arrow);

Auto: Default. The cursor set by the browser;

Crosshair: The cursor is rendered as a cross-line;

Pointer: Cursor is rendered as a pointer indicating the link (one hand);

Move: This cursor indicates that an object can be moved;

E-resize: This cursor indicates that the edge of the rectangle can be moved to the right (east);

Ne-resize: This cursor indicates that the edge of the rectangle can be moved up and to the right (north/east);

Nw-resize: This cursor indicates that the edge of the rectangle can be moved up and to the left (north/west);

N-resize: This cursor indicates that the edge of the rectangle can be moved up (north);

Se-resize: This cursor indicates that the edge of the rectangle can be moved down and to the right (south/east);

Sw-resize: This cursor indicates that the edge of the rectangle can be moved down and to the left (south/west);

S-resize: This cursor indicates that the edge of the rectangle can be moved downward (south);

W-resize: This cursor indicates that the edge of the rectangle can be moved to the left (west);

Text: This cursor indicates the literal;

Wait: This cursor indicates that the program is busy (usually a table or an hourglass);

Help: This cursor indicates the available assistance (usually a question mark or a balloon);

Example: <span style= "Cursor:auto" >

Online test: Online test address

CSS mouse pointer cursor style

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.