I have a php variable called MULTILANGUEwith a value define as true if the website has many languages and false if not.
The thing is I am using css files where I have some links like this
.fabricant .scroll:before {
content: "";
display: block;
width: 30px;
height: 18px;
background: url("../assets/img/picto/arrow-down.svg") no-repeat center center;
background-size: contain;
}
But the link is not the same depending if multilangue is true or false.
So I would like to make a condition for the url inside this css but I don't know how I can do that.
The obvious solution would be having a css file for both cases... but this would be redundant with a lot of duplicated code which is really bad.
.fabricant {background: url(); }?MULTILANAGUEis true you render you html with something like<body class="multi">