Sha256: 2075a63a2b01ec6856888a8cc9e6aee90ada33b7570496371069fe4c7405ec0a

Contents?: true

Size: 1.53 KB

Versions: 3

Compression:

Stored size: 1.53 KB

Contents

$responsive-steps: (
  xs: 0,
  sm: 576px,
  md: 768px,
  lg: 992px,
  xl: 1200px,
  xxl: 2000px
) !default;


@mixin responsiveStep-xs {
	@media only screen and (min-width: map-get($responsive-steps, xs)) { @content; }
}
@mixin responsiveStep-sm {
	@media only screen and (min-width: map-get($responsive-steps, sm)) { @content; }
}
@mixin responsiveStep-md {
	@media only screen and (min-width: map-get($responsive-steps, md)) { @content; }
}
@mixin responsiveStep-lg {
	@media only screen and (min-width: map-get($responsive-steps, lg)) { @content; }
}
@mixin responsiveStep-xl {
	@media only screen and (min-width: map-get($responsive-steps, xl)) { @content; }
}
@mixin responsiveStep-xxl {
	@media only screen and (min-width: map-get($responsive-steps, xxl)) { @content; }
}



@mixin responsiveStep-xs-only {
	@media only screen and (max-width: map-get($responsive-steps, xs)) { @content; }
}
@mixin responsiveStep-sm-only {
	@media only screen and (min-width: map-get($responsive-steps, sm)) and (max-width: map-get($responsive-steps, md) - 1) { @content; }
}
@mixin responsiveStep-md-only {
	@media only screen and (min-width: map-get($responsive-steps, md)) and (max-width: map-get($responsive-steps, lg) - 1) { @content; }
}
@mixin responsiveStep-lg-only {
	@media only screen and (min-width: map-get($responsive-steps, lg)) and (max-width: map-get($responsive-steps, xl) - 1) { @content; }
}
@mixin responsiveStep-xl-only {
	@media only screen and (min-width: map-get($responsive-steps, xl)) and (max-width: map-get($responsive-steps, xxl) - 1) { @content; }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
better_styles-0.0.0.338 assets/stylesheets/better/lib/_media_querries.scss
better_styles-0.0.0.337 assets/stylesheets/better/lib/_media_querries.scss
better_styles-0.0.0.336 assets/stylesheets/better/lib/_media_querries.scss