Answers for "How to make an image fill its container without stretching"

0

How to make an image fill its container without stretching

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

Code answers related to "How to make an image fill its container without stretching"

Browse Popular Code Answers by Language