Set cursor to pointer in CSS
Question:
How to set cursor to pointer in CSS? Answer:
.container:hover {
cursor: pointer;
}
Description:
The cursor
CSS property sets the type of mouse cursor, if any, to show when the mouse pointer is over an element.
Reference:
The cursor property reference
Share "How to set cursor to pointer in CSS?"
Related snippets:
- Force list bullets inside the container
- Change bullet size in HTML
- Use custom bullet symbol for list elements
- Create HTML list without bullets with CSS
- Use emoji instead of list style
- Link CSS stylesheet to HTML
- Set cursor to crosshair in CSS
- Create endless rotation animation in CSS
- Disable text selection with CSS
- Write vertical text in HTML
- Create rounded corners with CSS
- Write comments in CSS
- Set line spacing in CSS
- Set text to italic with CSS
- Force line break in a long word using CSS
- Add a box shadow to only one side of an element
- Add a box shadow to all side of an element
- Remove focus border around input element
- Set border for HTML element
- Add dots if text is too long
- Set custom cursor in CSS
- Set cursor to pointer in CSS
- Center content within an element
- Set media query in CSS
Tags:
set cursor pointer, cursor, css, pointer, Technical term:
Set cursor to pointer in CSS