opacity in var color on background
-
Hey,
is it possible if I have a global color, for example: #1a1724 and as var:
var( –e-global-color-secondary ), to get opacity on this? So I though I can write the opacity directly in the var like:
background-color: var( –e-global-color-secondary ), .8;
This does not work. Is there a way to do this? At the moment I am doing it with the hex code #1a1724CC, but every time I change the secondary global color, I have to change the CSS aswell. Do you have a solution for this?Thanks in advance!
Best regards.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘opacity in var color on background’ is closed to new replies.