How to make a square?

5c98be3439e63644382609.png
I need to get the block on the left has always been square, despite the fact that the height of this unit was equal to the height of the text.
March 19th 20 at 08:28
3 answers
March 19th 20 at 08:30
I need to get the block on the left was always square

And that its form can change?
March 19th 20 at 08:32
March 19th 20 at 08:34
you can use flex
wrap both into a common container and wrap them and the parent to ask.
For equal height elements in the row to set align-items, align-content: stretch

Find more questions by tags Layout