Forums

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

Home Forums CSS Responsive, cropping of images to a ratio

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #149499
    Dennis
    Participant

    Here’s what I’ve got: http://codepen.io/rawksteady/pen/agFfE

    Basically, that’s the markup I’ve got to work with. I will be using GetKirby CMS.

    I’m trying to resize/crop/hide/something so that the images will keep a 16:9 ratio.

    #149500
    Paulie_D
    Member

    So which one is supposed to re-size because it looks like one is already?

    I’m assuming it’s the second one? Exactly what is that supposed to do?

    #149503
    Dennis
    Participant

    The first one (530×300) is the one I want the second one to look like.

    #149507
    Paulie_D
    Member

    Hmmm…are these image content or styling?

    Using bg image would be much easier.

    #149508
    Paulie_D
    Member

    However, this might help: http://dabblet.com/gist/4711695

    #149521
    Dennis
    Participant

    Pretty much what I want and need, just need to tweak some of that to fit in. Thank you!

    And for the record, the images will be content. :)

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