Created
November 27, 2013 14:34
-
-
Save hagenburger/7676648 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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="bubble"> | |
Hallo | |
</div> |
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
// ---- | |
// Sass (v3.3.0.rc.1) | |
// Compass (v0.13.alpha.10) | |
// ---- | |
@import "compass"; | |
.bubble { | |
background: #e670a4; | |
border-radius: 10px; | |
color: white; | |
font: 30px Helvetica Neue; | |
margin: 100px; | |
padding: 20px; | |
position: relative; | |
@include filter(drop-shadow(rgba(black, 0.3) 0 2px 5px)); | |
&:before { | |
border: 10px solid; | |
border-color: #e670a4 transparent transparent; | |
content: ""; | |
left: 50%; | |
margin-left: -10px; | |
position: absolute; | |
top: 100%; | |
} | |
} |
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 { | |
background: #e670a4; | |
border-radius: 10px; | |
color: white; | |
font: 30px Helvetica Neue; | |
margin: 100px; | |
padding: 20px; | |
position: relative; | |
-webkit-filter: drop-shadow(rgba(0, 0, 0, 0.3) 0 2px 5px); | |
filter: drop-shadow(rgba(0, 0, 0, 0.3) 0 2px 5px); | |
} | |
.bubble:before { | |
border: 10px solid; | |
border-color: #e670a4 transparent transparent; | |
content: ""; | |
left: 50%; | |
margin-left: -10px; | |
position: absolute; | |
top: 100%; | |
} |
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="bubble"> | |
Hallo | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment