www.webdeveloper.com
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2009
    Posts
    75

    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
    Purely Me - So Be Selfish Here!
    http://purelyme.co.cc

    Purely Fashion
    http://purelyfashion.co.cc

    Purely Weddings
    http://purelyweddings.co.cc

  2. #2
    Join Date
    Feb 2011
    Posts
    225
    Hi,
    Try with CSS3 transform, the scale() method. See the code and example here: CSS3 transform scale .
    Free resources, Courses and Tutorials for Web Programmers

  3. #3
    Join Date
    Aug 2009
    Posts
    75
    Thanks MarPlo
    Exactly what I need
    Purely Me - So Be Selfish Here!
    http://purelyme.co.cc

    Purely Fashion
    http://purelyfashion.co.cc

    Purely Weddings
    http://purelyweddings.co.cc

Thread Information

Users Browsing this Thread

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

     

Bookmarks

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