Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants