Created
November 28, 2014 16:53
-
-
Save csswizardry/a104d1977722a9df1ba5 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
<ul class="wsk-tabs"> | |
<li class="wsk-tabs__item"> | |
<a href="#" class="wsk-tabs__link">Foo</a> | |
</li> | |
<li class="wsk-tabs__item"> | |
<a href="#" class="wsk-tabs__link">Bar</a> | |
</li> | |
<li class="wsk-tabs__item"> | |
<a href="#" class="wsk-tabs__link is-active">Baz</a> | |
</li> | |
</ul> |
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.4.7) | |
// Compass (v1.0.1) | |
// ---- | |
// _settings.colors.scss | |
$color-brand: red; | |
$color-highlight: lighten($color-brand, 10%); | |
$color-shadow: lighten($color-brand, 10%); | |
$color-blue: blue; | |
$color-green: green; | |
$color-grey: #333; | |
$color-links: $color-brand; | |
$color-links-hover: $color-highlight; | |
$color-btn: #fff; | |
$color-btn-background: $color-brand; | |
// _base.links.scss | |
a { | |
color: $color-links; | |
&:hover { | |
color: $color-links-hover; | |
} | |
} | |
// _components.buttons.scss | |
.btn { | |
color: $color-btn; | |
background-color: $color-btn-background; | |
} |
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
a { | |
color: red; | |
} | |
a:hover { | |
color: #ff3333; | |
} | |
.btn { | |
color: #fff; | |
background-color: red; | |
} |
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
<ul class="wsk-tabs"> | |
<li class="wsk-tabs__item"> | |
<a href="#" class="wsk-tabs__link">Foo</a> | |
</li> | |
<li class="wsk-tabs__item"> | |
<a href="#" class="wsk-tabs__link">Bar</a> | |
</li> | |
<li class="wsk-tabs__item"> | |
<a href="#" class="wsk-tabs__link is-active">Baz</a> | |
</li> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment