Set background image, as element's style, using @media
Hi All!,
I'm pretty new in Umbraco, and I have a problem that I don't know if I can solve it using Umbraco.
The thing is, I've 2 background images, one for mobile breakpoints and the other one for desktop breakpoints. I'm trying to figure out how to do this, if it is possible, using Umbraco, in a template for example. At CSS, I use to have @media declarations with the 2 backgrounds. But, inside template I can't load it because use @media attribute as inline styles is not permitted.
Thanks in advance if anyone has a clue in how to achieve this.
Set background image, as element's style, using @media
Hi All!,
I'm pretty new in Umbraco, and I have a problem that I don't know if I can solve it using Umbraco.
The thing is, I've 2 background images, one for mobile breakpoints and the other one for desktop breakpoints. I'm trying to figure out how to do this, if it is possible, using Umbraco, in a template for example. At CSS, I use to have @media declarations with the 2 backgrounds. But, inside template I can't load it because use @media attribute as inline styles is not permitted.
Thanks in advance if anyone has a clue in how to achieve this.
Sebastian
is working on a reply...