+ 1

CSS "
quot; symbol

Im looking for gradient tutorial in google and i see something like this: $green = #10f210 $blue = #0025fd .mainBG { color: linear-gradient(green, blue); i don't know what does this symbol mean "

quot; and what does the use of that.

4th Feb 2019, 12:45 AM
Alfred
Alfred - avatar
2 Answers
+ 3
Css doesn't use $ to define variables, but SCSS uses $ to define variables. SCSS need to be compiler to CSS before it could work together with HTML.
4th Feb 2019, 12:53 AM
CalviŐ˛
CalviŐ˛ - avatar
+ 3
We don’t use $ for CSS.
4th Feb 2019, 9:37 PM
JTLZ