You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not really designed for use with background images. You can use normal CSS media queries to set different background images at different breakpoints as needed.
Thanks Ryan. It was just in a particular scenario where the client can chose the background for a div in the CMS, but I want to use different sizes of that image for different devices. That means that in its simplest form, the background image is loaded using inline styles.
I can solve it by using JQuery to select the correct image depending on device width, but it struck me that your script is halfway to doing that already.
Hi
Just for interest, is there anyway of using this for background images?
Joss
The text was updated successfully, but these errors were encountered: