Skip to content

Instantly share code, notes, and snippets.

@davilious
Last active August 29, 2015 14:22
Show Gist options
  • Select an option

  • Save davilious/621f0d9e10ae8aac4397 to your computer and use it in GitHub Desktop.

Select an option

Save davilious/621f0d9e10ae8aac4397 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<div class="green-element"></div>
// ----
// Sass (v3.2.19)
// Compass (v0.12.7)
// ----
.red-element {
height: 200px;
width: 200px;
background: red;
}
.green-element {
@extend .red-element;
background: green;
}
.blue-element {
background: blue;
}
/* remove comment to see the collision
.red-element {
height: 200px;
width: 200px;
background: red;
}
*/
.red-element, .green-element {
height: 200px;
width: 200px;
background: red;
}
.green-element {
background: green;
}
.blue-element {
background: blue;
}
/* remove comment to see the collision
.red-element {
height: 200px;
width: 200px;
background: red;
}
*/
<div class="green-element"></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment