Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

overlay on clickable region - CSS

Tags:

html

css

Is there a way I can have a partially transparent image (or anything really) overlay a clickable region using XHTML and CSS?

like image 372
Web_Designer Avatar asked Jun 04 '11 00:06

Web_Designer


1 Answers

@thirtydot If you know of a solution that works in only one browser I still would love to here it! Although the more support the better.

You can use pointer-events: none.

Browser support: http://caniuse.com/pointer-events (works everywhere except IE10 and older)

http://jsfiddle.net/QC5Yw/

like image 169
thirtydot Avatar answered Nov 10 '22 13:11

thirtydot