Forums

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

Home Forums CSS Help with Media Query

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #38131

    Hello all, please forgive the elementary question. If I have the following css, are both of the images loaded on the smaller device or only the background image for the appropriate media query? I am basically trying to serve a smaller menu sprite to the iPad and a larger sprite to the desktop.

    @media only screen and (min-width: 960px) {

    bk-head {

    background-image: background-image: url(../images/BIGGER-IMAGE.png);

    }

    }

    @media only screen and (min-width: 768px) and (max-width: 959px) {

    bk-head {

    background-image: background-image: url(../images/SMALLER-IMAGE.png);

    }

    }

    #103089
    karnti4545
    Member

    Hai
    you can play video in css3 code.

    Web Development Company in India

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