Forums

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

Home Forums CSS css crop image

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #40660
    jiangli
    Member

    I encounter a problem in my webapp. In one page,there are many pictures,how can i crop these pictures when i click them ,they will scale to origin size by css3 transform.I try css’s property clip,but in the duration of transform ,the picture’s animation is not smooth.I try another way that overflow:hidden,but i came cross the same problem.Can anybody help me to reslove this problem?Thank you

    #113543
    Paulie_D
    Member

    Can you provide a link?

    #113554
    jiangli
    Member

    jsfiddle.net/jiangli/HVMqU/2

    if you open it with safari,you will find it is not smooth

    #113561
    Paulie_D
    Member

    Hmmm…it’s not a webkit issue because it’s fine in Chrome (23) so it must be a Safari specific thing.

    #113612
    jiangli
    Member

    ok,thank you for your help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.