1:1 image in css

// aspect ratio 1:1 
// Crop image using CSS

.image {
  object-fit: cover;

  width: 300px; 
  height: 300px;
}