Created
April 20, 2012 19:04
-
-
Save baudoin/2431087 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
body { background: #c2c2c2; } | |
#pop { | |
box-shadow: 0px 9px 8px #a1a1a1; | |
border-radius: 5px; | |
background: #fff; | |
font: 300 2em/1 "Helvetica Neue", arial; | |
margin: 2% auto 0 auto; | |
padding: 8% 5%; | |
width: 50%; | |
text-align: center; | |
position: relative; | |
} | |
#pop:after { | |
background: #fff; | |
content: ""; | |
clear: both; | |
display: block; | |
width: 1em; | |
height: 1em; | |
-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg); | |
-o-transform: rotate(45deg); | |
transform: rotate(45deg); | |
position: absolute; | |
left: 48%; | |
bottom: -13px; | |
box-shadow: -10px -10px 10px #fff, | |
8px 8px 7px #a1a1a1; | |
} | |
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
<div id="pop">What about this popover?</div> |
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
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment