Created
August 15, 2014 14:04
-
-
Save laras126/7e7150683bde32d1c2f4 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.0.rc.1) | |
// ---- | |
$screen-sm: 30em; | |
$screen-md: 48em; | |
$screen-lg: 60em; | |
%fl { | |
float: left; | |
} | |
.main { | |
@media (min-width: $screen-sm) { | |
background-image: url(img/nice-img.png); | |
} | |
@media (min-width: $screen-md) { | |
width: 60%; | |
@extend %fl; | |
} | |
} | |
.sidebar { | |
@media (min-width: $screen-md) { | |
width: 40%; | |
@extend %fl; | |
} | |
} |
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
You may not @extend an outer selector from within @media. | |
You may only @extend selectors within the same directive. | |
From "@extend %fl" on line 16. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment