Skip to content

Instantly share code, notes, and snippets.

@achudars
Last active December 17, 2015 00:19
Show Gist options
  • Save achudars/5520514 to your computer and use it in GitHub Desktop.
Save achudars/5520514 to your computer and use it in GitHub Desktop.
Pure CSS bubble talk
/* CSS */
.bubble {
font: 12px Arial;
display: block;
width: 200px;
position: relative;
margin-bottom: 18px;
color:#fff;
padding: 15px;
background: #000;
z-index: 1;
}
.bubble:before {
border: 0 solid rgba(0, 0, 0, 0.85);
border-bottom: 14px solid transparent;
border-right-width: 18px;
bottom: -14px;
content: "";
position: absolute !important;
right: 0;
width: 100%;
z-index: 2;
}
.bubble p{
margin: 0;
padding: 0;
}
.bubble p a{
color:#fff;
}
<!-- HTML -->
<div class="bubble">
<p>
<a rel="tag" href="http://www.google.com">Google</a>
</p>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment