Box Image Absolute - Box Zoom

					
.t-box-img {
    position: relative;
    display: block;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
}
.t-box-img .link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}
.t-box-img img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    max-width: 100%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;
}
					
				
					
.t-box-zoom {
    transition: all 1s;
    width: 100%;
    height: 100%;
    position: absolute;
    
	&:hover {
		transform: scale(1.2);
	}
}
					
				
box images
box images
hover zoom images

Box Image Absolute - CSS object-fit: cover;

					
.box-img-3-2 {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	overflow: hidden;
	padding-bottom: 66.6667%;

	img {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: auto !important;
		height: auto !important;
		min-width: 100%;
		min-height: 100%;
		object-fit: cover;
	}
}
					
				
box images 3:2