Latest solutions
Latest comments
- @cheepmanzee@deepak300811
For placement of background image:
for deciding the focus point of image, means if size of the screen decreases the image will try to be in centre and focus on that point. means clipping at the edges will happen
- background-position: center
For size, most popular is cover 2. background-size: Cover it will make image to cover all of the size, even if the image size is small it will snap to come on full div
And some links : https://developer.mozilla.org/en-US/docs/Web/CSS/background-position, https://developer.mozilla.org/en-US/docs/Web/CSS/background
Marked as helpful