crop img css
.crop {
width: 200px;
height: 150px;
overflow: hidden;
}
crop img css
.crop {
width: 200px;
height: 150px;
overflow: hidden;
}
image crop using css 1:1
.img {
object-fit: cover;
object-position: 100% 0; //move image position in x direction.
object-position: 0 100%; //move image position in y direction.
}
style image so it crops
.alligator-turtle {
object-fit: cover;
object-position: 100% 0;
width: 300px;
height: 337px;
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us