Created
June 10, 2013 16:32
-
-
Save ewillhite/5750188 to your computer and use it in GitHub Desktop.
Lightbox popup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*------------------------------------------------------------ | |
Lightbox Stuff (replace POPUPBLOCK with name of pop-up div) | |
-----------------------------------------------------------*/ | |
#overlay { | |
background-color: #E0E1DC; | |
display: none; | |
height: 100%; | |
width: 100%; | |
position: fixed; | |
top: 0; | |
left: 0; | |
z-index: 1000; | |
} | |
POPUPBLOCK { | |
background-color:#2f2f2f; | |
border: 5px solid; | |
border-radius: 5px 5px 5px 5px; | |
display: none; | |
padding: 50px; | |
position: absolute;/* If Small can be fixed positioned */ | |
z-index: 1001; | |
} | |
#close-overlay { | |
cursor: pointer; | |
display: none; | |
color: #000; | |
position: absolute; | |
top: -26px; | |
right: 1px; | |
font-size: 17px; | |
} | |
#close-overlay:hover { | |
color: #fff; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment