Forums

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

Home Forums CSS Are my images being downloaded on mobile devices

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #45515
    jmoody
    Member

    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?

    #138620
    Senff
    Participant

    If a background image is part of a media query, then it will NOT be downloaded until the media query rules kick in.

    #138624
    jmoody
    Member

    Great, thanks. I was fairly certain that was the case, I just wanted some affirmation from someone smarter than me!

    #138625
    jmoody
    Member

    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.

    #138637
    CrocoDillon
    Participant
    #138703
    jmoody
    Member

    Thank you. This is a very cool resource.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.