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:
I dropped the idea that can make it with CSS only. jQuery blockUI plug in works like charm.
Conclusion. To make an area unclickable with CSS, we set the pointer-events CSS property to none .
Setting CSS - pointer-events: none should remove any mouse interaction with the image.
There is a CSS rule for that, but it's not widely used because of old browsers support
pointer-events: none;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With