CSS: Transparent event clicks having translucid front div element

div.transparent-click { pointer-events: none; background: url('your_transparent.png'); /*IE11 conditional:*/ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='your_transparent.png', sizingMethod='scale'); background: none !important; }
With this class you can use a div with translucid image as background (png with transparency/opacity) to be set in front of another element, so you can do transparent click to elements at the background as this frontal div does not exists.

Imagine (for example, in my case) a "CANCELLED" image in front of a bill.

(Sorry my poor english).

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.