Forums

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

Home Forums CSS CSS image crop

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #194823
    denis012
    Participant

    Hi, i need some help
    how can i use CSS to crop image without lose the ratio of height to width?

    #194825
    Paulie_D
    Member

    Your question is a little vague.

    Are these inline images in the HTML or background images?

    Under what circumstances should the images ‘crop’?

    What, if anything, is around the images, how should it react to this ‘cropping’?

    Can you make a Codepen reduced case showing the problem?

    Basically, show us what is happening now…and what is supposed to happen.

    #194934
    bikejunkie
    Participant

    how ironic.
    I was just going to post seperately about a different problem with this codepen.
    But look here -http://codepen.io/anon/pen/XJedqg
    the class mitloehner img

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