Answer the question
In order to leave comments, you need to log in
How to pass number with CSS variable to Sass mixin?
How to pass a number from the markup using a css variable to make the mixin work?
codepen.io
If you debug, then var(--data) comes into the mixin, not a number. How can you fix it?
@include draw-progress(var(--data), $pie-color)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question