I have some basic experience in HTML/CSS and I started coding my portfolio website but I am already having a problem.
I have a background image let’s say 2000px height and I want it to be displayed depending on the resolution the person visiting the website has but I don’t want it resized in any way and I don’t want a scroll bar. I want to see only 1200px let’s say if this is my resolution.
If anyone can help it would be great and much appreciated.
@jkinney768 is right, although I would suggest creating a couple of different versions of the background in different sizes. Otherwise, users on mobile phones will still have to download a 2000x1400px image, which may be several mb in size. I would use media queries to swap out the different background images, like on this [Codepen](http://codepen.io/David_Leitch/pen/stKwi “http://codepen.io/David_Leitch/pen/stKwi”).