www.webdeveloper.com
Results 1 to 3 of 3

Thread: Aspect Ratio Shrink

  1. #1
    Join Date
    Aug 2009
    Posts
    78

    Aspect Ratio Shrink

    Okay so what I'm trying to do is shrink an object with out messing up the internal layout.

    For example take a facebook wall post.

    What I'd like to do is treat the post like an image when I change the width of the post's div I would like all the content inside to shrink and keeping its original look just on a smaller / wider scale.

    The only problem I have is I don't know how to do such a thing let alone where to begin. So any assistance would be greatly appreciated

  2. #2
    Join Date
    Feb 2011
    Posts
    231
    Hi,
    Try with CSS3 transform, the scale() method. See the code and example here: CSS3 transform scale .

  3. #3
    Join Date
    Aug 2009
    Posts
    78
    Thanks MarPlo
    Exactly what I need

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles