O
O
Old Odessa2017-08-07 19:50:08
css
Old Odessa, 2017-08-07 19:50:08

Is it possible to use css variables in sass?

That's actually the whole question, is it possible and if so, how? I searched on google but didn't find it

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
andead, 2017-08-07
@andead

If used as intended, then as usual:

:root {
  --foo: bar;
}
body {
   baz: var(--foo);
}

If it's something like this, $foo + var(--bar)then no.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question