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

a bug about parse scss #1042

Closed
chenxiaochun opened this issue Jul 22, 2015 · 0 comments
Closed

a bug about parse scss #1042

chenxiaochun opened this issue Jul 22, 2015 · 0 comments

Comments

@chenxiaochun
Copy link

the scss code

@mixin ico-common($imgUrl){
    display: inline-block;
    background: url(i/$imgUrl);
    background-repeat: no-repeat;
}

@mixin ico-size($width,$height){
    width: $width;
    height: $height;
}

.test{
    @include ico-common("icon.png");

    @include ico-size(100px, 100px);
}

the css code

.test {
  display: inline-block;
  background: url(i/$imgUrl);
  background-repeat: no-repeat;
  width: 100px;
  height: 100px; }

The "$imgurl" can not parsed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants