Created
April 30, 2015 15:08
-
-
Save yomete/45818e2e7e3fb8a0597c 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.4.4) | |
// Compass (v1.0.1) | |
// ---- | |
@mixin media($queryString){ | |
@media #{$queryString} { | |
@content; | |
} | |
} | |
.container { | |
width: 900px; | |
@include media("(max-width: 767px)"){ | |
width: 100%; | |
} | |
} |
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
.container { | |
width: 900px; | |
} | |
@media (max-width: 767px) { | |
.container { | |
width: 100%; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment