Skip to content

Instantly share code, notes, and snippets.

@EvanLovely
Last active August 29, 2015 14:09
Show Gist options
  • Save EvanLovely/3572f77f12f861036ca5 to your computer and use it in GitHub Desktop.
Save EvanLovely/3572f77f12f861036ca5 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.14)
// Compass (v1.0.1)
// ----
@mixin icon-overlay-base {
background: white;
font-size: 154px;
opacity:0.75;
padding: 39px 0 0 0;
position: absolute;
text-align: center;
top: auto;
width: 100%;
}
%icon-overlay-extendable {
@include icon-overlay-base;
}
.icon-overlay {
@extend %icon-overlay-extendable;
}
@mixin icon-overlay($mq:false) {
@if $mq == true {
@include icon-overlay-base;
} @else {
@extend %icon-overlay-extendable;
}
}
.test1 {
@include icon-overlay;
}
.test2 {
@include icon-overlay;
}
.test7 {
@include icon-overlay;
}
.test5 {
@include icon-overlay;
}
.test3 {
@media (max-width: 699px) {
@include icon-overlay($mq:true);
}
}
.test4 {
@media (max-width: 699px) {
@include icon-overlay($mq:true);
}
}
.icon-overlay, .test1, .test2, .test7, .test5 {
background: white;
font-size: 154px;
opacity: 0.75;
padding: 39px 0 0 0;
position: absolute;
text-align: center;
top: auto;
width: 100%;
}
@media (max-width: 699px) {
.test3 {
background: white;
font-size: 154px;
opacity: 0.75;
padding: 39px 0 0 0;
position: absolute;
text-align: center;
top: auto;
width: 100%;
}
}
@media (max-width: 699px) {
.test4 {
background: white;
font-size: 154px;
opacity: 0.75;
padding: 39px 0 0 0;
position: absolute;
text-align: center;
top: auto;
width: 100%;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment