Grow your CSS skills. Land your dream job.

image issue

  • # February 11, 2013 at 9:39 pm

    I am sure this is some bush league stuff, but i am making what can only be called a mock up it needs the most basic level of functionality.

    My problem is this… I need to have the image stretch to the width of the browser window until a certain point and then not resize any smaller. I can only imagine that this is possible and feel like a first class heel for not knowing how to do it.

    # February 12, 2013 at 6:22 am

    img {
    min-width: 400px; /* Or whatever */
    width: 100%;
    }

    Should do the trick, I think? Obviously, should only target that particular image, but…

    Also, reading helps, didn’t spot it was solved =)

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".