freeCodeCamp/guide/english/css/pointer-events/index.md

922 B

title
Pointer Events

Pointer Events

This property specifies how your mouse reacts when you hover over any element on a page.

Example


.example {
  pointer-events: auto; 
  /*this will use the default look set by the browser agent*/
}

.example {
  pointer-events: none; 
  /*this will use the regular mouse look when hovered over the element*/
}

Other acceptable values

Other values could be: initial, and inherit

More Information: