Im really confusion, how to add a variables in css
in background-image
.
:root {
--image-base-url: 'https://www.xxxx.com/';
}
.banner .img{
background-image: url(var(--image-base-url + '/images/about.jpg'));
}
Here is a error. It is possible to do this?