http://www.w3css.co.uk/
The website says it doesn’t use :target, I looked at the source there is no js as far as i can see so its all just css then ? How . A small fiddle example or an explanation would be very much appreciated.Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The CSS selector that is being using on the thumbnails is the
:focusand:activeselectors, which are applied when you click on an anchor (active for IE compatibility, and what you’ll see in Firebug).These selectors simply have the CSS transitions that expand the squashed image to full size, then obviously the
:focusis lost when you click on another element and the lightbox disappears. You can also navigate using the tab keys as in doing so you are just switching the focus between the anchors and thus activating the CSS transitions again.