DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSS
How to make an image fill its container without stretching
.cover { object-fit: cover; width: 50px; height: 100px; }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#How
#image
#fill
#container
#stretching
ADD COMMENT
Topic
COMMENT
Name
5+1 =
Submit