Last active
January 21, 2016 11:20
-
-
Save sheharyarn/c781dd642d387b947020 to your computer and use it in GitHub Desktop.
Sass Media Mixins (Requires https://github.com/paranoida/sass-mediaqueries)
This file contains hidden or 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
// Super Simple wrapper for Sass Media Queries | |
// Provides only two mixins: | |
// - small-screens | |
// - medium-screens | |
// https://gist.github.com/sheharyarn/c781dd642d387b947020 | |
// Copyright (c) 2015 Sheharyar Naseer - MIT License | |
@import "sass-media-queries"; | |
$bp_small: 768px; | |
$bp_medium: 992px; | |
$bp_large: 1200px; | |
@mixin small-screens { | |
@include max-screen($bp_medium) { | |
@content; | |
} | |
} | |
@mixin medium-screens { | |
@include min-screen($bp_medium+1) { | |
@content; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment