How to use an image with variations as a background image

I might be missing smth, but it seems like I am unable to figure out how to use an image with variations (like publicLogoUrl) as a background image.

Smth. like
Code:

Код:
#myid
{
    background-image: url({$xf.style.getPropertyVariation('publicLogoUrl', 'default'});
   
    .m-colorScheme(dark {
        background-image: url({$xf.style.getPropertyVariation('publicLogoUrl', 'alternate'});
    });
}
might work, but that seems pretty complicated (and kinda inefficient) - there must be a...

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ