HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Set whether or not an element should react to pointer events
The pointer-events
property defines whether or not an element reacts to
pointer events.
Default value: | auto |
---|---|
Inherited: | yes |
Animatable: | No. Read about animatable |
Version: | CSS3 |
JavaScript syntax: | object.style.pointerEvents="none" Try it |
The numbers in the table specify the first browser version that fully supports the property.
Property | |||||
---|---|---|---|---|---|
pointer-events | 2.0 | 11.0 | 3.6 | 4.0 | 9.0 |
Property Value | Description |
---|---|
auto | The element reacts to pointer events, like :hover and click. This is default |
none | The element does not react to pointer events |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |