Created
January 5, 2016 15:29
-
-
Save jedfoster/798969055f1fc3a47984 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
.container | |
.box | |
img.box(src="https://gemio-dev.s3.amazonaws.com/jems/jem/image/354/test_gem.png") |
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.3.2) | |
// ---- | |
//linear-gradient(#87D0DF, #87D0DF) 100% 100% / 50% 100% no-repeat, | |
//linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)) 0% 0% / 50% 100% | |
.container { | |
text-align: center; | |
} | |
$blue: rgba(135, 208, 223, 1); | |
$blue: linear-gradient($blue, $blue); | |
$red: rgba(242, 102, 68, 1); | |
$red: linear-gradient($red, $red); | |
.box { | |
margin: 0 auto 1em; | |
width: 4em; | |
height: 8em; | |
border: 1px solid #bbb; | |
background: $blue 0% 0% / 100% 50% no-repeat, $red 0% 50% / 100% 50%; | |
// background: linear-gradient(rgb(135, 208, 223), rgb(135, 208, 223)) 100% 100% / 100% 50% no-repeat, linear-gradient(rgb(242, 102, 68), rgb(242, 102, 68)) 0% 0% / 100% 50%; | |
// background: linear-gradient(rgb(135, 208, 223), rgb(135, 208, 223)) 0% 0% / 100% 50% no-repeat, linear-gradient(rgb(242, 102, 68), rgb(242, 102, 68)) 0% 50% / 100% 50%; | |
// background: linear-gradient(rgb(135, 208, 223), rgb(135, 208, 223)) 0% 0% / 100% 50% no-repeat, linear-gradient(rgb(242, 102, 68), rgb(242, 102, 68)) 0% 50% / 100% 50%; | |
} | |
img.box { | |
width: auto; | |
height: auto; | |
border: 0; | |
} |
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
.container { | |
text-align: center; | |
} | |
.box { | |
margin: 0 auto 1em; | |
width: 4em; | |
height: 8em; | |
border: 1px solid #bbb; | |
background: linear-gradient(#87d0df, #87d0df) 0% 0%/100% 50% no-repeat, linear-gradient(#f26644, #f26644) 0% 50%/100% 50%; | |
} | |
img.box { | |
width: auto; | |
height: auto; | |
border: 0; | |
} |
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="container"> | |
<div class="box"></div><img src="https://gemio-dev.s3.amazonaws.com/jems/jem/image/354/test_gem.png" class="box"/> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment