Created
April 25, 2016 10:17
-
-
Save holyzfy/51f21b9a01dc51f300e2b1e1936b559c to your computer and use it in GitHub Desktop.
demo scss
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
.list { | |
background-image: url(xxx.png); | |
} | |
.header { | |
margin-bottom: 20px; | |
-webkit-transform: rotateZ(135deg); | |
transform: rotateZ(135deg); | |
} | |
.list { | |
width: 100px; | |
background-color: #0C355F; | |
background-position: 0 0; | |
} |
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
$blue: #0C355F; | |
%bg { | |
background-image: url(xxx.png); | |
} | |
.header { | |
margin-bottom: 20px; | |
transform: rotateZ(135deg); | |
} | |
.list { | |
width: 100px; | |
background-color: $blue; | |
@extend %bg; | |
background-position: 0 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment