Why are we still using images?
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
img
Readme.markdown
demo.html

Readme.markdown

CSS-Only Lightbox-style close buttons

I was rolling my own lightbox JavaScript and needed a close button. I realized that I didn’t really need an image as I began replacing the one I had temporarily "borrowed" from a Google Image search (I'm a professional, I couldn't leave it like that!).

Known Issues

The shadow size and offset does not vary with each button size. This is due to a bug in Less. Manually correcting this is straightforward.