I want to set some background image size using CSS.
I am able to set the size using the below css codes. I have been reading up on css formatting at w3schools, and also referred to the below stackoverflow post:
background: url([[pix:theme|cat/default]]) no-repeat center bottom;
background-size: 180px 200px;
I have tried all the methods, including contain and cover. However i keep getting the image stretched and blurred. How can I do this without blurring the image? FYI original image size is 128Kb 1210x1643px
1210 x 1643and180 x 200do not have the same aspect ratio so of course the image will be stretched.180 x 244would be closer.1210x1643more pixelated than180x200and have better view of the image? What would your suggestion be on the sizing to get clearer image?