Answers for "make image not stretch css"

0

css image 100 without stretch

.cover {
  object-fit: cover;
  width: 50px;
  height: 100px;
}
Posted by: Guest on May-12-2021
1

how to contain image size

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

Browse Popular Code Answers by Language