Menu icon Foundation

Coder | Portland, Oregon

frontend developer. Currently digging into grunt and improving my javascript skills

My Posts



My Comments

derekshirk commented on derekshirk's post about 3 years

When I place this in _settings.scss I get a grunt error: unbound variable $small-only

I have tried using media queries within the settings_scss file like so

$off-canvas-width: 85%;

@media only screen and (max-width: 40em) {
   $off-canvas-width: rem-calc(320);
}

@media only screen and (min-width: 40.063em) {
  $off-canvas-width: rem-calc(400);
}

The only variable that is used is whatever is set last

derekshirk commented on derekshirk's post about 3 years

Ok - thanks

Posts Followed


Following

    No Content

Followers

My Posts

My Comments

You commented on derekshirk's post about 3 years

When I place this in _settings.scss I get a grunt error: unbound variable $small-only

I have tried using media queries within the settings_scss file like so

$off-canvas-width: 85%;

@media only screen and (max-width: 40em) {
   $off-canvas-width: rem-calc(320);
}

@media only screen and (min-width: 40.063em) {
  $off-canvas-width: rem-calc(400);
}

The only variable that is used is whatever is set last

You commented on derekshirk's post about 3 years

Ok - thanks

Posts Followed

Following

  • No Content

Followers

  • No Content