Last active
August 29, 2015 14:21
-
-
Save mistergraphx/93f220d4d17ba28e6021 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
// ---- | |
// libsass (v3.2.4) | |
// ---- | |
@import "bourbon/bourbon"; | |
@import "neat/neat"; | |
// Test bourbon linear-gradient null value fail | |
$medium-purple: purple; | |
$dark-purple: darken(purple, 20%); | |
.selector{ | |
@include linear-gradient(to top, $medium-purple, $dark-purple); | |
} | |
// Test with background-image | |
.selector2{ | |
@include background-image(linear-gradient(to top, #00ff00, #ff0000)); | |
} |
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
html { | |
box-sizing: border-box; | |
} | |
*, | |
*::after, | |
*::before { | |
box-sizing: inherit; | |
} | |
.selector { | |
background-color: purple; | |
background-image: -webkit-linear-gradient(bottom, purple, #1a001a); | |
background-image: linear-gradient(to top,purple, #1a001a, , , , , , , , ); | |
} | |
.selector2 { | |
background-image: -webkit-linear-gradient( bottom , #00ff00, #ff0000); | |
background-image: linear-gradient(to top, #00ff00, #ff0000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment