Created
January 22, 2011 17:36
-
-
Save jonrohan/791286 to your computer and use it in GitHub Desktop.
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 class="chat-bubble"> | |
Buongiorno! | |
<div class="chat-bubble-arrow-border"></div> | |
<div class="chat-bubble-arrow"></div> | |
</div> | |
.chat-bubble { | |
background-color:#EDEDED; | |
border:2px solid #666666; | |
font-size:35px; | |
line-height:1.3em; | |
margin:10px auto; | |
padding:10px; | |
position:relative; | |
text-align:center; | |
width:300px; | |
-moz-border-radius:10px; | |
-webkit-border-radius:10px; | |
-moz-box-shadow:0 0 5px #888888; | |
-webkit-box-shadow:0 0 5px #888888; | |
} | |
.chat-bubble-arrow-border { | |
border-color: #666666 transparent transparent transparent; | |
border-style: solid; | |
border-width: 10px; | |
height:0; | |
width:0; | |
position:absolute; | |
bottom:-22px; | |
left:30px; | |
} | |
.chat-bubble-arrow { | |
border-color: #EDEDED transparent transparent transparent; | |
border-style: solid; | |
border-width: 10px; | |
height:0; | |
width:0; | |
position:absolute; | |
bottom:-19px; | |
left:30px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment