Skip to content

Instantly share code, notes, and snippets.

@chao-xian
Created September 1, 2014 09:39
Show Gist options
  • Save chao-xian/d31f2d3422c63ec1340a to your computer and use it in GitHub Desktop.
Save chao-xian/d31f2d3422c63ec1340a to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// 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;}
}
}
.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