Created
February 28, 2013 19:08
-
-
Save jwdallas/5059227 to your computer and use it in GitHub Desktop.
Centered bubble
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
/** | |
* Centered bubble | |
*/ | |
* { margin:0; padding:0 } | |
figure { text-align:center; position:absolute; | |
top:20%; left:50%; margin-left:-53px } | |
a { display:inline-block; | |
background:#93C44F; width:47px; height:47px } | |
i { display:block; padding:14px; top:10px; | |
border-radius:9px; position:relative; | |
box-shadow:0 1px 1px 0 rgba(0, 0, 0,.5); text-shadow:0 1px 1px rgba(0,0,0,0.2); | |
background-color:#57ABC7; font:17px/1.2 helvetica; color:#fff } | |
i:after { content:''; height:0; width:0; | |
position:absolute; border:14px solid transparent; | |
border-bottom-color:#57ABC7; bottom:100%; left:50%; | |
margin-left:-14px } |
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
<figure><a></a><i>Center me</i></figure> |
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
// alert('Hello world!'); |
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
{"view":"separate","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