Skip to content

Instantly share code, notes, and snippets.

@aurelkurtula
Created April 8, 2013 12:28
Show Gist options
  • Save aurelkurtula/5336428 to your computer and use it in GitHub Desktop.
Save aurelkurtula/5336428 to your computer and use it in GitHub Desktop.
Speach boble
/* Speach boble*/
.bubble {
background-color: #fff;
border-radius: 7px;
border: 2px solid #DD4814;
box-shadow: inset 0 1px 1px hsla(0,0%,100%,.5),
4px 4px 0 hsla(0,0%,0%,.1);
color: #333;
display: inline-block;
font-family: Ubuntu, sans-serif;
font: 16px/25px;
padding: 15px 25px;
position: absolute;
right: 20px;
}
.bubble:after, .bubble:before {
border-bottom: 25px solid transparent;
border-right: 25px solid #fff;
bottom: -25px;
content: '';
position: absolute;
right: 25px;
}
/**/
.bubble:before {
border-right: 27px solid #DD4814;
border-bottom: 27px solid transparent;
bottom: -29px;
right: 23px;
z-index: 0;
}
<!-- content to be placed inside <body>…</body> --><span class="bubble">Speech bubble right</span>
// alert('Hello world!');
{"view":"split-vertical","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