Created
March 8, 2014 17:37
-
-
Save lisacatalano/9435576 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
<div class="col1"> | |
<h1>Main</h1> | |
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsam, nesciunt, odio nemo doloremque maxime aperiam? Perferendis, odio, maxime, magnam accusantium provident veniam ea culpa cum suscipit illum non voluptatum quibusdam.</p> | |
</div> |
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.0.rc.5) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
$small-break: 400px; | |
$large-break: 800px; | |
@mixin mq($size) { | |
@if $size == small { | |
@media screen and (max-width: $small-break) { | |
@content; | |
} | |
} | |
@else if $size == medium { | |
@media screen and (min-width: $small-break) and (max-width: $large-break) { | |
@content; | |
} | |
} | |
@else if $size == large { | |
@media only screen and (min-width: $large-break) { | |
@content; | |
} | |
} | |
} | |
body { | |
font: 1em/1.6em sans-serif ; | |
margin: 1em; | |
} |
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
body { | |
font: 1em/1.6em sans-serif; | |
margin: 1em; | |
} |
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
<div class="col1"> | |
<h1>Main</h1> | |
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsam, nesciunt, odio nemo doloremque maxime aperiam? Perferendis, odio, maxime, magnam accusantium provident veniam ea culpa cum suscipit illum non voluptatum quibusdam.</p> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment