wymuszaj Div do kwadratu

.square {
  width: 50%;
}

.square:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}
Anxious Angelfish