Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Hiding on mobile – bad practice? Reply To: Hiding on mobile – bad practice?

#239922
Beverleyh
Participant

This is an interesting article on asset loading. In short, if you don’t want a background image to load, hide the parent element with display:none. Unfortunately, hiding the element that has the background image will still load the background image. https://timkadlec.com/2012/04/media-query-asset-downloading-results/