shah rushabh
shah rushabh

Reputation: 21

CSS background image cropping issue

Link: Image Cropped Preview

In my HTML page is not showing full image and I want to show it full without cropping How can I resolve it?

Upvotes: 0

Views: 44

Answers (2)

Hrishabh singh
Hrishabh singh

Reputation: 11

you can add this css:

background-size: 100% 100%;

Upvotes: 0

Tomasz Mularczyk
Tomasz Mularczyk

Reputation: 36179

what about background-size: contain; ?

Upvotes: 1

Related Questions