.button{
.background-color: green;
.in-10(); /* <-- here to use mixin */
...some other
}
an error say .in-10 is undefined, may I think they are output same time so that .in-10 is not find, how can I make this work? how to code less in this case?
I can't got any answer in stackoverflow so I try here, pls help!
in my case first I use function to create a
.in-10
...then use
.in-10
as a mixin to.button
an error say
.in-10 is undefined
, may I think they are output same time so that.in-10
is not find, how can I make this work? how to code less in this case?I can't got any answer in stackoverflow so I try here, pls help!