1.img {
2 object-fit: cover;
3 object-position: 100% 0; //move image position in x direction.
4 object-position: 0 100%; //move image position in y direction.
5}
1.alligator-turtle {
2 object-fit: cover;
3 object-position: 100% 0;
4
5 width: 300px;
6 height: 337px;
7}