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
    2017/2018:
    [Mount Snow: 11/27]

    2016/2017: * = powder day
    [Berkshire East: 1/16, 2/10] [Bolton Valley: 1/1, 2/5*, 2/19] [Burke: 12/17*, 1/28*] [Heavenly: 3/5*, 3/11] [Jay Peak: 1/29*, 4/9] [Jiminy Peak: 11/26] [Killington: 12/4, 12/10, 4/8*, 4/15] [Kirkwood: 3/8] [Mad River Glen: 2/25] [Magic: 2/13*] [Mt Rose: 3/7*] [Mount Snow: 4/3] [Northstar: 4/10] [Okemo: 11/23] [Pico: 1/7*, 2/18, 3/19] [Smuggler’s Notch: 1/22] [Stratton: 2/4] [Stowe: 1/21] [Sugarbush: 1/2] [Telluride: 3/27, 3/28*] [Whiteface: 2/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:46 AM.