Created
September 1, 2014 09:39
-
-
Save chao-xian/d31f2d3422c63ec1340a 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
// ---- | |
// Sass (v3.3.14) | |
// Compass (v1.0.1) | |
// ---- | |
// use the ampersand to nest the code within the initial .module | |
.module { | |
background-color: #CC6699; | |
box-sizing: border-box; | |
padding: 0 4%; | |
width: 80%; | |
&:first-child { | |
border: 4px solid #000; | |
} | |
&:nth-child(even) { | |
background-color: #003366; | |
} | |
.lt-ie9 & { | |
width: 72%; | |
} | |
& a { | |
hover: red; | |
& & { size: 2px;} | |
} | |
} | |
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
.module { | |
background-color: #CC6699; | |
box-sizing: border-box; | |
padding: 0 4%; | |
width: 80%; | |
} | |
.module:first-child { | |
border: 4px solid #000; | |
} | |
.module:nth-child(even) { | |
background-color: #003366; | |
} | |
.lt-ie9 .module { | |
width: 72%; | |
} | |
.module a { | |
hover: red; | |
} | |
.module a .module a { | |
size: 2px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment