Created
November 20, 2015 13:17
-
-
Save autovalue/3df715d105ef8e3bdb6b 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="gradient vertical-gradient"> | |
test | |
</div> | |
<div class="gradient corner-gradient"> | |
test | |
</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.14) | |
// Compass (v1.0.3) | |
// ---- | |
$wf-green: #56d848; | |
$wf-blue: #0fb2f9; // #0fb2f9 vs 10b2f9 | |
$wf-grey: #595959; | |
$wf-grey-digital: #6f6f6f; | |
$wf-cool-grey: #77777a; | |
$wf-light-grey: #ececec; | |
$wf-white: #ffffff; | |
$gradient-original-position: 59.97%; | |
$gradient-position: 0.99%; | |
.vertical-gradient { | |
background: linear-gradient(90deg, $wf-blue $gradient-position, $wf-green); | |
} | |
.corner-gradient { | |
background: linear-gradient(135deg, $wf-blue $gradient-position, $wf-green); | |
} | |
.gradient { | |
width: 175px; | |
height: 106px; | |
display: table-cell; | |
vertical-align: middle; | |
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
.vertical-gradient { | |
background: linear-gradient(90deg, #0fb2f9 0.99%, #56d848); | |
} | |
.corner-gradient { | |
background: linear-gradient(135deg, #0fb2f9 0.99%, #56d848); | |
} | |
.gradient { | |
width: 175px; | |
height: 106px; | |
display: table-cell; | |
vertical-align: middle; | |
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="gradient vertical-gradient"> | |
test | |
</div> | |
<div class="gradient corner-gradient"> | |
test | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment