css how to fit some pictures based on width and some picture based on height in the same class code example
Example: make images same size css
img {
float: left;
width: 100px;
height: 100px;
object-fit: cover;
}
img {
float: left;
width: 100px;
height: 100px;
object-fit: cover;
}