Sha256: ab0e5025c926ed9a7a857b17648c2ef4c38072e89927848b38883cefafc740da

Contents?: true

Size: 419 Bytes

Versions: 86

Compression:

Stored size: 419 Bytes

Contents

// rem Support
// ===========

// rem
// ---
// Check for an existing support mixin, or output directly.
// - $prop  : <css property>
// - $val   : <css value>
@mixin susy-rem(
  $prop,
  $val
) {
  $_reqs: (
    variable: rhythm-unit rem-with-px-fallback,
    mixin: rem,
  );
  @if susy-support(rem, $_reqs, $warn: false) and $rhythm-unit == rem {
    @include rem($prop, $val);
  } @else {
    #{$prop}: $val;
  }
}

Version data entries

86 entries across 86 versions & 8 rubygems

Version Path
sparrow-jekyll-theme-0.1.2 _sass/vendor/susy/susy/output/support/_rem.scss
susy-2.2.14 sass/susy/output/support/_rem.scss
susy-2.2.13 sass/susy/output/support/_rem.scss
minimal-mistakes-jekyll-4.4.1 _sass/minimal-mistakes/vendor/susy/susy/output/support/_rem.scss
jekyll-theme-basically-basic-1.0.0 _sass/basically-basic/vendor/susy/output/support/_rem.scss
jekyll-theme-woforo-0.2.3 _sass/vendor/susy/susy/output/support/_rem.scss
jekyll-theme-woforo-0.2.2 _sass/vendor/susy/susy/output/support/_rem.scss
jekyll-theme-woforo-0.2.1 _sass/vendor/susy/susy/output/support/_rem.scss
jekyll-theme-woforo-0.2.0 _sass/vendor/susy/susy/output/support/_rem.scss
minimal-mistakes-jekyll-4.1.1 _sass/vendor/susy/susy/output/support/_rem.scss
minimal-mistakes-jekyll-4.0.1 _sass/vendor/susy/susy/output/support/_rem.scss
wrgem-0.0.55 lib/generators/wrstart/template/vendor/assets/components/susy/sass/susy/output/support/_rem.scss
susy-2.2.12 sass/susy/output/support/_rem.scss
susy-2.2.11 sass/susy/output/support/_rem.scss
susy-2.2.10 sass/susy/output/support/_rem.scss
wrgem-0.0.54 lib/generators/wrstart/template/vendor/assets/components/susy/sass/susy/output/support/_rem.scss
susy-2.2.9 sass/susy/output/support/_rem.scss
susy-2.2.8 sass/susy/output/support/_rem.scss
susy-2.2.7 sass/susy/output/support/_rem.scss
wrgem-0.0.53 lib/generators/wrstart/template/vendor/assets/components/susy/sass/susy/output/support/_rem.scss