How do I make an area unclickable with CSS?

后端 未结 7 1323
轻奢々
轻奢々 2020-12-01 05:10

Let\'s say if I have wrapper div which includes some links and images, is there any way I can deactivate it at once with CSS only?


After review of answers:

7条回答
  •  醉话见心
    2020-12-01 05:52

    There is a CSS rule for that, but it's not widely used because of old browsers support

    pointer-events: none;

提交回复
热议问题