Last active
August 29, 2015 14:18
-
-
Save arshaw/fe2448d5b99124e48d52 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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="app-card"> | |
<div class="app-card--title"></div> | |
<div class="app-card--content"></div> | |
</div> | |
<!-- a variation --> | |
<div class="app-card -tall"> | |
<div class="app-card--title"></div> | |
<div class="app-card--content"></div> | |
</div> |
This file contains hidden or 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
.app-card | |
height: 400px | |
&--title | |
font-weight: bold | |
&--content | |
color: #ccc | |
/* a variation */ | |
.app-card.-tall | |
height: 800px | |
.app-card--title | |
font-size: 1.5em | |
.app-card--content | |
font-size: 1.1em |
This file contains hidden or 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
.app-card { | |
height: 400px; | |
} | |
.app-card--title { | |
font-weight: bold; | |
} | |
.app-card--content { | |
color: #ccc; | |
} | |
/* a variation */ | |
.app-card.-tall { | |
height: 800px; | |
} | |
.app-card.-tall .app-card--title { | |
font-size: 1.5em; | |
} | |
.app-card.-tall .app-card--content { | |
font-size: 1.1em; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment