{"id":18170,"date":"2013-06-20T10:06:03","date_gmt":"2013-06-20T17:06:03","guid":{"rendered":"http:\/\/css-tricks.com\/?page_id=18170"},"modified":"2020-01-30T08:59:20","modified_gmt":"2020-01-30T15:59:20","slug":"pointer-events","status":"publish","type":"page","link":"https:\/\/css-tricks.com\/almanac\/properties\/p\/pointer-events\/","title":{"rendered":"pointer-events"},"content":{"rendered":"

The pointer-events<\/code> property allows for control over how HTML elements respond to mouse\/touch events \u2013 including CSS hover\/active states, click\/tap events in Javascript, and whether or not the cursor is visible. <\/p>\n

.avoid-clicks {\r\n  pointer-events: none;\r\n}<\/code><\/pre>\n

While the pointer-events<\/code> property takes eleven<\/i> possible values, all but three of them are reserved for use with SVG. The three valid values for any HTMl element are:<\/p>\n