- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I am working on my first responsive site using the mobile-first approach. I just want to make sure the navigation icons I set as css backgrounds aren’t being downloaded in the small screen media queries. The site is currently hosted at http://www.jasonjmoody.com. I’ve read that this is way to do it, but I just want to be 100% sure, is there any tools that can help me with this?
If a background image is part of a media query, then it will NOT be downloaded until the media query rules kick in.
Great, thanks. I was fairly certain that was the case, I just wanted some affirmation from someone smarter than me!
Does the W3C mobileOK Checker account for this? It seems to think my images were being downloaded in the mobile version, which is what got me concerned in the first place.
See test 5 here: http://timkadlec.com/2012/04/media-query-asset-downloading-results/
Thank you. This is a very cool resource.