A way to make css register clicks! demo: http://adrusi.com/css3-lightbox/
The trick is to use the css :focus pseudo-class to detect clicks. Normally this only works with form elements, but html5 gives us the contenteditable attribute which lets any element be "focused". Just hide the outline on the when the element is focused and apply the effect.
Viewing 1 post (of 1 total)
The forum ‘Other’ is closed to new topics and replies.