I
I
Ilya Famin2020-04-28 04:20:29
css
Ilya Famin, 2020-04-28 04:20:29

Is the height of one block dependent on another?

There is a block with a description and a picture for this article, and you need the block with the picture to take the height of the block with a description of whether it is possible to implement this CSS or JS https://jsfiddle.net/62L0tarv/2/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arseny, 2020-04-28
@Fama18122000

Grids built on flexboxes and grids, by default, inherit the height of the neighboring block.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question