object fit cover css code example
Example 1: object-fit values in css
img{
object-fit: cover|contain|fill|none|scale-down;
}
Example 2: object fit cover
img {
width: 200px;
height:
400px;
object-fit: cover;
}
img{
object-fit: cover|contain|fill|none|scale-down;
}
img {
width: 200px;
height:
400px;
object-fit: cover;
}