Skip to content

Instantly share code, notes, and snippets.

@DannyJoris
Created June 12, 2014 19:15
Show Gist options
  • Select an option

  • Save DannyJoris/92e45298c42f1e3536e7 to your computer and use it in GitHub Desktop.

Select an option

Save DannyJoris/92e45298c42f1e3536e7 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<div class="speech-bubble">
<div class="speech-bubble__header">
Herman Melvill - Moby Dick
</div>
<div class="speech-bubble__text">
<p>"Wish, by gor! whale eat him, 'stead of him eat whale. I'm bressed if he ain't more of shark dan Massa Shark hisself," muttered the old man, limping away; with which sage ejaculation he went to his hammock.</p>
<a href="http://www.fillerati.com/" class="speech-bubble__text--link">Read more</a>
</div>
</div>
// ----
// Sass (v3.3.8)
// Compass (v1.0.0.alpha.19)
// ----
@import "compass";
.speech-bubble {
max-width: 400px;
margin: 15px;
padding: 25px;
background: hotpink;
@include border-radius(15px);
&__header {
color: white;
font-size: 150%;
font-family: sans-serif;
}
&__text {
color: white;
&--link {
color: white;
font-family: sans-serif;
text-transform: uppercase;
font-size: 75%;
}
}
}
.speech-bubble {
max-width: 400px;
margin: 15px;
padding: 25px;
background: hotpink;
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
border-radius: 15px;
}
.speech-bubble__header {
color: white;
font-size: 150%;
font-family: sans-serif;
}
.speech-bubble__text {
color: white;
}
.speech-bubble__text--link {
color: white;
font-family: sans-serif;
text-transform: uppercase;
font-size: 75%;
}
<div class="speech-bubble">
<div class="speech-bubble__header">
Herman Melvill - Moby Dick
</div>
<div class="speech-bubble__text">
<p>"Wish, by gor! whale eat him, 'stead of him eat whale. I'm bressed if he ain't more of shark dan Massa Shark hisself," muttered the old man, limping away; with which sage ejaculation he went to his hammock.</p>
<a href="http://www.fillerati.com/" class="speech-bubble__text--link">Read more</a>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment