Answer the question
In order to leave comments, you need to log in
How to correctly display a variable in the body of a class (SCSS)?
Hey!
How to correctly display $style in the body of the class?
Example:
$class: test;
$style: text-align: center;
.#{$class}
{
$style
}
Answer the question
In order to leave comments, you need to log in
for this there is extend https://sass-scss.ru/documentation/pravila_i_direk...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question