Created
December 17, 2015 12:10
-
-
Save jackw/d923bf35e670d150df55 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="badge"> | |
<span class="up-to">Up to</span> | |
<span class="sale-text">40% off</span> | |
</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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
.badge { | |
background: #c30c30; | |
border-radius: 40px; | |
color: #fff; | |
display: inline-block; | |
font: 18px/1 sans-serif; | |
padding: 20px; | |
text-align: center; | |
span { | |
display: block; | |
} | |
.up-to { | |
font-size: 13px; | |
} | |
.sale-text { | |
display: block; | |
font-size: 13px; | |
width: 50px; | |
text-align: center; | |
&:first-line { | |
font-size: 25px; | |
} | |
} | |
} |
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
.badge { | |
background: #c30c30; | |
border-radius: 40px; | |
color: #fff; | |
display: inline-block; | |
font: 18px/1 sans-serif; | |
padding: 20px; | |
text-align: center; | |
} | |
.badge span { | |
display: block; | |
} | |
.badge .up-to { | |
font-size: 13px; | |
} | |
.badge .sale-text { | |
display: block; | |
font-size: 13px; | |
width: 50px; | |
text-align: center; | |
} | |
.badge .sale-text:first-line { | |
font-size: 25px; | |
} |
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="badge"> | |
<span class="up-to">Up to</span> | |
<span class="sale-text">40% off</span> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment