.app-rawitem-carousel{ width: 100%; .carsouel-container{ .carousel-img-item{ width: 100%; height: 100%; position: relative; text-align: center; >img,i{ display: block; position: absolute; top: 50%; left: 50%; transform:translate(-50%,-50%); } .app-carouse-img{ object-fit: contain; width: 100%; height: 100%; } } } }