I am trying to pass something like this to a mixin
.myMixin(Pdcbs/sjdhc+jdjhdf);
This fails when compiling, syntax error
I tried wrapping the string in quotes but in the output I see my parameter get outputted like
background: ...@{paramName}
I tried ~"stringhere"... I been on this for hours now Please point me to the right direction, thanks
I'm not quite certain what you are seeking to have as output, but this:
.mixin(@paramName) {
background: ~"...@{paramName}";
}
.mixin("Pdcbs/sjdhc+jdjhdf");
Produces this for me:
background: ...Pdcbs/sjdhc+jdjhdf;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With