CSS - image fit div with object-fit property

0 votes
108 views
added Mar 25, 2019 in CSS by LC Marshal Captain (25,770 points)
retagged Mar 12, 2020 by LC Marshal
.single-card img {
	width: 86px;
	height: 76px;
	object-fit: cover;
}

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...