cursor
The cursor CSS property specifies the mouse cursor displayed when the mouse pointer is over an element.
- See also
<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/cursor">MDN</a>
Value members
Concrete methods
Cursor showing that something can be scrolled in any direction (panned).
Cursor showing that something can be scrolled in any direction (panned).
The browser determines the cursor to display based on the current context.
The browser determines the cursor to display based on the current context.
The item/column can be resized horizontally. Often rendered as arrows pointing left and right with a vertical bar separating.
The item/column can be resized horizontally. Often rendered as arrows pointing left and right with a vertical bar separating.
A context menu is available under the cursor. Only IE 10 and up have implemented this on Windows
A context menu is available under the cursor. Only IE 10 and up have implemented this on Windows
Cross cursor, often used to indicate selection in a bitmap.
Cross cursor, often used to indicate selection in a bitmap.
Indicates that something can be grabbed (dragged to be moved).
Indicates that something can be grabbed (dragged to be moved).
Indicates that something can be grabbed (dragged to be moved).
Indicates that something can be grabbed (dragged to be moved).
Cursor showing that a drop is not allowed at the current location.
Cursor showing that a drop is not allowed at the current location.
The program is busy in the background but the user can still interact with the interface (unlike for wait).
The program is busy in the background but the user can still interact with the interface (unlike for wait).
The item/row can be resized vertically. Often rendered as arrows pointing up and down with a horizontal bar separating them.
The item/row can be resized vertically. Often rendered as arrows pointing up and down with a horizontal bar separating them.
Indicating text can be selected, typically an I-beam.
Indicating text can be selected, typically an I-beam.
Indicating that vertical text can be selected, typically a sideways I-beam.
Indicating that vertical text can be selected, typically a sideways I-beam.
The program is busy (sometimes an hourglass or a watch).
The program is busy (sometimes an hourglass or a watch).
Inherited methods
The inherit CSS-value causes the element for which it is specified to take the computed value of the property from its parent element. It is allowed on every CSS property.
The inherit CSS-value causes the element for which it is specified to take the computed value of the property from its parent element. It is allowed on every CSS property.
For inherited properties, this reinforces the default behavior, and is only needed to override another rule. For non-inherited properties, this specifies a behavior that typically makes relatively little sense and you may consider using initial instead, or unset on the all property.
- Inherited from
- TypedAttrBase
The initial CSS keyword applies the initial value of a property to an element. It is allowed on every CSS property and causes the element for which it is specified to use the initial value of the property.
The initial CSS keyword applies the initial value of a property to an element. It is allowed on every CSS property and causes the element for which it is specified to use the initial value of the property.
- Inherited from
- TypedAttrBase
The unset CSS keyword is the combination of the initial and inherit keywords. Like these two other CSS-wide keywords, it can be applied to any CSS property, including the CSS shorthand all. This keyword resets the property to its inherited value if it inherits from its parent or to its initial value if not. In other words, it behaves like the inherit keyword in the first case and like the initial keyword in the second case.
The unset CSS keyword is the combination of the initial and inherit keywords. Like these two other CSS-wide keywords, it can be applied to any CSS property, including the CSS shorthand all. This keyword resets the property to its inherited value if it inherits from its parent or to its initial value if not. In other words, it behaves like the inherit keyword in the first case and like the initial keyword in the second case.
- Inherited from
- TypedAttrBase