Last active
August 29, 2015 14:08
-
-
Save cvializ/ba7ea8a8419e76d9c3be 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="pod"> | |
| <div class="pod-content">My cool content</div> | |
| </div> | |
| <div class="widget"> | |
| <div class="pod widget-pod"> | |
| <div class="pod-content">Cool Widget content</div> | |
| </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
| // ---- | |
| // Sass (v3.4.7) | |
| // Compass (v1.0.1) | |
| // Breakpoint (v2.5.0) | |
| // Susy (v2.1.3) | |
| // ---- | |
| /* === Begin configuration === */ | |
| @import "susy"; | |
| @import "breakpoint"; | |
| $pod-color: rgba(255, 0, 0, .1); | |
| $widget-color: rgba(0, 255, 0, .1); | |
| .pod { | |
| width: 100%; | |
| background-color: $pod-color; | |
| .pod-content { | |
| width: 50%; | |
| margin: 0 auto; | |
| background-color: $pod-color; | |
| } | |
| } | |
| //================= | |
| .widget { | |
| /* ... */ | |
| background-color: $widget-color; | |
| } | |
| .widget-pod { | |
| &.pod { | |
| width: 180px; | |
| background-color: $pod-color; | |
| } | |
| &.pod .pod-content { | |
| width: 100%; | |
| background-color: $pod-color; | |
| } | |
| } |
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
| /* === Begin configuration === */ | |
| .pod { | |
| width: 100%; | |
| background-color: rgba(255, 0, 0, 0.1); | |
| } | |
| .pod .pod-content { | |
| width: 50%; | |
| margin: 0 auto; | |
| background-color: rgba(255, 0, 0, 0.1); | |
| } | |
| .widget { | |
| /* ... */ | |
| background-color: rgba(0, 255, 0, 0.1); | |
| } | |
| .widget-pod.pod { | |
| width: 180px; | |
| background-color: rgba(255, 0, 0, 0.1); | |
| } | |
| .widget-pod.pod .pod-content { | |
| width: 100%; | |
| background-color: rgba(255, 0, 0, 0.1); | |
| } |
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="pod"> | |
| <div class="pod-content">My cool content</div> | |
| </div> | |
| <div class="widget"> | |
| <div class="pod widget-pod"> | |
| <div class="pod-content">Cool Widget content</div> | |
| </div> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment