Skip to content

Instantly share code, notes, and snippets.

@ReneKriest
Created October 16, 2014 09:07
Show Gist options
  • Save ReneKriest/d23405c3aa23cd334f76 to your computer and use it in GitHub Desktop.
Save ReneKriest/d23405c3aa23cd334f76 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.5)
// Compass (v1.0.1)
// ----
@mixin variation-for($bodyclass) {
.#{$bodyclass} & {
@content;
}
}
.main-container {
position: absolute;
width: px2em(1238px);
min-height: 100%;
left: 50%;
top: 0;
margin-left: -619px;
@include variation-for('cms-home') {
background: #ff0000 !important;
}
}
/*
was ich will:
.cms-home .main-container {
background: #ff0000 !important;
}
*/
.main-container {
position: absolute;
width: px2em(1238px);
min-height: 100%;
left: 50%;
top: 0;
margin-left: -619px;
}
.cms-home .main-container {
background: #ff0000 !important;
}
/*
was ich will:
.cms-home .main-container {
background: #ff0000 !important;
}
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment