Kevin Powell - CommunityKP-C
Kevin Powell - Community•3y ago•
11 replies
elhanan

Fit background image vertically and horizontally

Hello guys I am ashamed that I am still struggling with fitting background images in both directions (vertical and horizontal). I have used background-size: cover; and it will strech the image in both direction, but what I am not liking is, my image cuts off in bottom and I don't like that, I have an image with Full HD size. I just wanted the whole part of image to be shown regardless of size of the screen.
Was this page helpful?