Using images with variations via CSS is complicated

In XenForo < 2.3 it was easy to use a style property for an image as a background image in LESS:

Code:

Код:
.selector
{
    background-image: url(@xf-publicLogoUrl);
}

Using this code does not work in XF 2.3 any longer and requires a quite more complex approach:
https://xenforo.com/community/threa...with-variations-as-a-background-image.226257/

While this does work, it isn't straight forward and requires quite a bit of aditional CSS for clients to parse and render...

Read more

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