Answer the question
In order to leave comments, you need to log in
How to extend SCSS custom property?
There is a custom property rgb, inheriting the css properties of which, I have to create a new custom property with a certain transparency. How can this be done correctly? - initial custom property.
It should look like this: - a new custom property with transparency.
It is necessary to expand the original.
$bg_main: rbg(32 , 32 , 32);
$custom_bg_main: rgba($bg_main , 0.5);
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