Sha256: b0ccf15404cd373f1a617b5933a274482e263fb54c25acfae497612506956946
Contents?: true
Size: 813 Bytes
Versions: 1038
Compression:
Stored size: 813 Bytes
Contents
@mixin global_props_css($props, $class_prefix, $css_attribute, $responsive) { @each $propkey, $propvalue in $props { .#{$class_prefix}_#{$propkey} { #{$css_attribute}: #{$propvalue} !important; @content; } } @if $responsive { @each $size, $size_value in $breakpoints_grid { @each $prop_key, $prop_value in $props { $min_size: map-get($size_value, "min"); $max_size: map-get($size_value, "max"); .#{$class_prefix}_#{$size}_#{$prop_key} { @include break_on($min_size, $max_size) { #{$css_attribute}: #{$prop_value} !important; } } } } } } @mixin global_props_responsive_css($props, $class_prefix, $css_attribute) { @include global_props_css($props, $class_prefix, $css_attribute, 1) }
Version data entries
1,038 entries across 1,038 versions & 1 rubygems