What is the difference between CSS variables and
preprocessor(SASS, LESS, Stylus) variables?
Answer Posted / hrpynux@gmail.com
SCSS is a preprocessor. That means it is not CSS, but is converted into CSS at 'compile time'. In the resulting CSS code there is no resemblance to the original SCSS code. Hence you cannot change the variable values at CSS 'runtime'.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How stacking context is formed?
Can a div have multiple classes?
What is gradient and explain its types?
What does * box sizing border box do?
How we can override css?
Explain external style sheet? How would you link to it?
How do you increase font size?
List some newly introduced text related features in css3?
What do you understand by parent-child selector?
How do you get the footer to stay at the bottom of a web page?
How can backward compatibility be designed in CSS?
What is Tweening?
How do hexadecimal color codes differ from rgb values?
Can I include comments in my style sheet?
Name the property used to specify the background color of an element.