Background scaling (or lack of)

AlpineZone

Results 1 to 2 of 2
  1. #1

    Background scaling (or lack of)

    Hey Nick... at work I am on a monitor that's got 1900px width or something like that. Not many people have such wide horizontal resolutions but anyway there is grey area to the sides of the Sugarloaf background picture.

    You can change this so the background has a minimum width and then will scale on wider displays. CSS could be something like this:

    img#bg {
    position:fixed;
    background-position:50% top;
    top:0;
    left:0;
    width:100%;
    height:100%;
    min-height:900px;
    min-width:1800px;
    }

    Adjust your min-height and min-width to be the size of the image. This CSS will cause the background to appear as it fills the screen on any display, without scaling it down or causing distortion.

    Obviously this is not a big deal and I have too much time to kill
    2016/2017: * = powder day
    Berkshire East [January 16, February 10]
    Bolton Valley [January 1, February 5*, February 19]
    Burke [December 17*, January 28*]
    Heavenly [March 5*, March 11]
    Jay Peak [January 29*, April 9]
    Jiminy Peak [November 26]
    Killington [December 4, December 10, April 8*, April 15]
    Kirkwood [March 8]
    Mad River Glen [February 25]
    Magic [February 13*]
    Mt Rose [March 7*]
    Mountain Snow [April 3]
    Northstar [March 10]
    Okemo [November 23]
    Pico [January 7*, February 18, March 19]
    Smuggler’s Notch [January 22]
    Stratton [February 4]
    Stowe [January 21]
    Sugarbush [January 2]
    Telluride [March 27, March 28*]
    Whiteface [February 12]

  2. #2

    Re: Background scaling (or lack of)

    I actually have a 2560x1440 monitor at home myself. Will check it out later ... thanks!

    Sent from my Galaxy Nexus using Tapatalk 2

    Free Stickers - e-mail your address to nick@alpinezone.com.

    Check AZ out on Facebook, Twitter, Instagram, YouTube, Vimeo and Google+

    Get AZ on your mobile phone!

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
  •  
All times are GMT -5. The time now is 7:37 PM.