Answers for "object fit contain get new image using height & width"

1

how to contain image size

overflow: 'hidden',
backgroundSize : 'contain',
Posted by: Guest on May-26-2020
3

make image stretch to fit div

Just apply without any changing any code
img {
width: 100%;
}
Posted by: Guest on October-22-2020

Code answers related to "object fit contain get new image using height & width"

Browse Popular Code Answers by Language