Created
March 15, 2012 12:17
-
-
Save BenjaminGuV/2043928 to your computer and use it in GitHub Desktop.
css de un pop up simple
This file contains 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
.fadebox{ | |
display: none; | |
position: absolute; | |
top: 0%; | |
left: 0%; | |
width: 100%; | |
height: 100%; | |
background-color: black; | |
z-index:1001; | |
-moz-opacity: 0.8; | |
opacity:.80; | |
filter: alpha(opacity=80); | |
} | |
.overbox{ | |
width: 350px; | |
margin-left: -175px; | |
height: 350px; | |
margin-top: -175px; | |
position: absolute; | |
display: none; | |
top: 50%; | |
left: 50%; | |
z-index:1005; | |
overflow: auto; | |
background: white; | |
padding: 20px 55px; | |
-webkit-border-radius: 10px; | |
-webkit-border-radius: 10px; | |
-moz-border-radius: 10px; | |
-moz-border-radius: 10px; | |
border-radius: 10px; | |
border-radius: 10px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment