Jump to content

CSS Click through?


joe92

Recommended Posts

A nice feature I would like to see in CSS...

 

If an image with a transparent background is set on a higher layer (z-index) than a button or link below, and the image is hovering directly over the said link, the user cannot click the said link/button (which they can see due to it being transparent).

 

A nice declaration that I would like to see would be a 'click-through'. The click through could have two values, on or off (default off). If on, the user on a website could click straight through the image or layer with the click-through on to click the button below. Would make positioning images a lot more flexible. Could be applied across other tags too, a div's covering div's maybe...

Link to comment
https://forums.phpfreaks.com/topic/234981-css-click-through/
Share on other sites

yeah that would be nice indeed. not sure if there will be such a thing though  :shrug:

Maybe sent an email to the css workgroup but than again. it will take ages for it to be implemented if it will.

maybe it's possible with html5, haven't looked at it yet. But that's be aimed for really dynamic stuff.

 

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/234981-css-click-through/#findComment-1207624
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.