Created
July 31, 2013 19:44
-
-
Save cherihung/6125468 to your computer and use it in GitHub Desktop.
speech bubble, plain
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
.bubble { | |
position:relative; | |
padding:10px; | |
margin:1em 0; | |
color:#000; | |
line-height: 1.65em; | |
font-weight: 500; | |
background:#EDE4A6; | |
-webkit-border-radius:10px; | |
-moz-border-radius:10px; | |
border-radius:10px; | |
} | |
.bubble:after { | |
content:""; | |
position:absolute; | |
bottom:-15px; /* -(order-top minus border-bottom) */ | |
left:50px; | |
border-width:15px 15px 0; /*vertex angle controlled by these values */ | |
border-style:solid; | |
border-color:#EDE4A6 transparent; | |
/* for older FF */ | |
display:block; | |
width:0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment