Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6031911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:15:18+00:00 2026-05-23T05:15:18+00:00

I recently saw a link, on twitter, to path’s new website; with.me. There’s some

  • 0

I recently saw a link, on twitter, to path’s new website; with.me. There’s some pretty simple but neat things occurring on a with.me page, for example look at this one of Ashton Kutcher:

http://with.me/w/2275

My favorite thing on that page is how the picture appears to snap to a minimum and maximum size. When you resize the browse, you will notice that the image will eventually shrink to a smaller size in a “snapping” fashion. It doesn’t resize with the browser, it instantly goes to the smaller size if the bigger one can’t fit in the browser window.

How are they doing this? I’ve been poking around the CSS for the past two hours. I have a test page of my own that I’ve been trying to get this to work on, but can’t figure it out.

Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T05:15:19+00:00Added an answer on May 23, 2026 at 5:15 am

    It’s done by applying different stylesheets based on screen size:

    @media screen and (min-height: 1000px) {
    

    If you’re using a webkit-based browser (safari / chrome), it actually animates between the two using a webkit animation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In some code I saw recently there was a structure defined like this: typedef
I recently saw the presentation about the changes in ECMAScript 5 . And there
i recently saw some videos on F#. it seems it used mainly for Service
I recently saw some Clojure or Scala (sorry I'm not familiar with them) and
I recently saw someone with a T-shirt with some Perl code on the back.
I recently saw an example of Google maps in grey on a website (Can't
I recently saw a blog post showing off different displays that some software development
I recently saw some code that reminded me to ask this question. Lately, I've
I recently saw some code from a college teacher where he had something like
I recently saw the new gmail look, and am liking the scroll bar when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.