Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to @declude #7

Closed
adrianratajczak opened this issue Apr 16, 2015 · 1 comment
Closed

Option to @declude #7

adrianratajczak opened this issue Apr 16, 2015 · 1 comment

Comments

@adrianratajczak
Copy link

Hi, juice is almost perfect.

Option to declude prev included mixin/function using for ex. breakpoints would be really nice.

I mean to do sth like that:

.foo {
@include size(60px);
@include bp(medium) {
@declude size()}
}

And on medium screens .foo will be without size.

@kjbrum
Copy link
Owner

kjbrum commented Apr 16, 2015

To do what you are asking, you would just do the following:

.foo {
  @include size(60px);
  @include bp(medium) {
    @include size(auto);
  }
}

Setting the width and height to auto will essentially remove the previously added values.

@kjbrum kjbrum closed this as completed Aug 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants