Forums

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

Home Forums CSS Images not changing parent width on resize

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

    Hello,

    When I resize the browser window the images in the example should change the width of each parent row to match that of the child image. But instead the parent keeps the width that it originally loaded with and then cuts off the image.

    http://codepen.io/JTParrett/pen/zFqGu

    I would be very grateful for any ideas on how to fix this or why it happens?

    Cheers.

    #173867
    JTParrett
    Participant

    Sorry, the jquery was my fix. If you remove the jquery and resize the browser, you’ll see that the images get cut off due to the parents not resizing correctly.

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