Skip to content

alanhogan/CSS-Only-Lightbox-Close-Button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Why are we still using images?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published