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

Home Forums CSS How Do I Get My Background Images of Parent and Nested Div to Scale Responsively

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #264964

    Hi, I don’t know how to get my background divs of both my parent and nested divs to scale responsively… you can view my code here:

    I posted my CSS code here as well, but jsFiddle kept saying, “Unable to render preview” You can checkout my full code at the jsfiddle link provided above!

    Thanks in advance for the help!


    We’d prefer a minimal demo, in rather than a JSFiddle without anything that isn’t related to the problem.

    So we don’t need the JS for instance since this is a styling issue..not a functionality one.


    Ok, here is my CodePen:

    I want to find out how do I set up my mobile-first min-width media-query to achieve the desired effect of the all the pictures or only the motorcylce helmet picture to scale from small to large from mobile to desktop. I also want the buttons to remain in the same exact positions as that happens. Thankyou so much for your help?


    following. I want to know too

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