Last active
August 29, 2015 14:07
-
-
Save jdlehman/c666382f8cf24c408302 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="my-AwesomeBox my-AwesomeBox--small"> | |
| <h1 class="my-AwesomeBox-title">Small Box</h1> | |
| </div> | |
| <div class="my-AwesomeBox"> | |
| <h1 class="my-AwesomeBox-title">Normal Title</h1> | |
| </div> | |
| <div class="my-AwesomeBox"> | |
| <h1 class="my-AwesomeBox-title my-AwesomeBox-title--large">Large Title</h1> | |
| </div> | |
| <div class="my-AwesomeBox"> | |
| <h1 class="my-AwesomeBox-title my-u-center">Centered Title</h1> | |
| </div> | |
| <div class="my-AwesomeBox is-selected"> | |
| <h1 class="my-AwesomeBox-title">Selected Box</h1> | |
| </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
| // ---- | |
| // Sass (v3.3.14) | |
| // Compass (v1.0.1) | |
| // ---- | |
| .my-AwesomeBox { | |
| background-color: blue; | |
| border: 1px solid black; | |
| margin: 1rem; | |
| width: 250px; | |
| // .my-AwesomeBox--small | |
| &--small { | |
| width: 100px; | |
| } | |
| // .my-AwesomeBox-title | |
| &-title { | |
| font-size: 1rem; | |
| color: white; | |
| // .my-AwesomeBox-title--large | |
| &--large { | |
| font-size: 2rem; | |
| } | |
| } | |
| &.is-selected { | |
| background-color: red; | |
| } | |
| } | |
| .my-u-center { | |
| text-align:center; | |
| } |
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
| .my-AwesomeBox { | |
| background-color: blue; | |
| border: 1px solid black; | |
| margin: 1rem; | |
| width: 250px; | |
| } | |
| .my-AwesomeBox--small { | |
| width: 100px; | |
| } | |
| .my-AwesomeBox-title { | |
| font-size: 1rem; | |
| color: white; | |
| } | |
| .my-AwesomeBox-title--large { | |
| font-size: 2rem; | |
| } | |
| .my-AwesomeBox.is-selected { | |
| background-color: red; | |
| } | |
| .my-u-center { | |
| text-align: center; | |
| } |
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="my-AwesomeBox my-AwesomeBox--small"> | |
| <h1 class="my-AwesomeBox-title">Small Box</h1> | |
| </div> | |
| <div class="my-AwesomeBox"> | |
| <h1 class="my-AwesomeBox-title">Normal Title</h1> | |
| </div> | |
| <div class="my-AwesomeBox"> | |
| <h1 class="my-AwesomeBox-title my-AwesomeBox-title--large">Large Title</h1> | |
| </div> | |
| <div class="my-AwesomeBox"> | |
| <h1 class="my-AwesomeBox-title my-u-center">Centered Title</h1> | |
| </div> | |
| <div class="my-AwesomeBox is-selected"> | |
| <h1 class="my-AwesomeBox-title">Selected Box</h1> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment