[CSS disclosure] mouse cursor

Source: Internet
Author: User

The mouse pointer can be used to tell the user what actions are currently performed

The existing built-in cursor types are:

crosshair help move pointer text wait e-resize
ne-resize nw-resize se-resize s-resize none
context-menu cell alias copy no-drop ew-resize
Ns-resize Nesw-resize Nwse-resize Col-resize Row-resize All-resize Zoom-in

Zoom-out

Introduces several common cursors

1. Prompt to disable state

Not-allowed is used to indicate that a control cannot interact for some reason, and is often used in forms

:d isabled, [disabled], [aria-disabled= ' true ']{

cursor:not-allowed;

}

2. Hide the mouse cursor

For example, the information query desk in public places, the entertainment platform needs the appropriate hidden mouse cursor, resulting in usability improvements.

video{

Cursor:none;

}

3. Zoom cursor

Several new zoom cursors are now available, namely Ew-resize, Ns-resize, Nesw-resize, nwse-resize

Often used on boundaries of custom scaling elements

[CSS disclosure] mouse cursor

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.