I want to write this mixin:
@mixin top_a($sep-a: 2.5) {
padding-top: $sep-a + %;}
But unfortunately this throws in an error. How do I add the percentage to the value correctly?
Why not simply multiply by 1%?
padding-top: $sep-a * 1%;
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