Created
April 20, 2012 21:08
-
-
Save kevingorski/2431919 to your computer and use it in GitHub Desktop.
Popover for Neven
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
/** | |
* Popover for Neven | |
*/ | |
body { | |
background-color: #BBB; | |
} | |
.container { | |
width: 250px; | |
} | |
.popover { | |
display: block; | |
background-color: white; | |
padding: 1em; | |
border-radius: 5px; | |
font-family: "helvetica", sans-serif; | |
font-size: 0.75em; | |
margin-bottom:0; | |
position:relative; | |
z-index:10; | |
} | |
.shadowy { | |
box-shadow: 3px 3px 25px #555; | |
} | |
.tail { | |
color: white; | |
font-size: 2em; | |
text-shadow: 3px 3px 25px #555; | |
text-align: center; | |
position: relative; | |
top: -0.25em; | |
} | |
h2 { text-align: center; font-size: 1.25em } |
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
<!-- content to be placed inside <body>…</body> --> | |
<div class="container"> | |
<div class="shadowy"> | |
<div class="popover"> | |
<h2>Can you create this popover in clean, not-too-hacky <abbr>CSS</abbr>?</h2> | |
<ul> | |
<li>It's pretty cool</li> | |
<li>more</li> | |
</ul> | |
</div> | |
</div> | |
<div class="tail">▼</div> | |
</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":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment