Good afternoon.
Experimenting with box-shadow in scss. You want to add multiple shadows to one element, I want to make some of them using mixins.
Can I make a mixin that depending on the input parameters can generate a similar line:
0 1px 0 0 black,
0 10px 0 0 white,
0 20px 0 0 red,
And then use it thus:
Box-shadow: @import mixin(params)
@import Mixin2(params)
@import mixin(other params) ;
This code I have not compileda in css. Is there a way? The point is to generate not a set of box-shadow, as they will overlap each other. And to generate a set of parameters and substitute them in the same box-shadow.