Layout problem: the height of the column is equal to the column with the height set.

figure is as follows, the width and height of the left area is dynamic

width: calc(100% - 330px);
padding-bottom: 40%;
height: 0;

the width of the right side is 300px, and the height is the same as that of the left side
how to make the right column height equal to the left column height and exceed part of the scroll

codeOpen

Css
Apr.21,2022

1, get the height of the left column through js or jq, assign the height to the right column, and then exceed the setting sroll (security)

var lhenght = $('.left').outerHeight();
$('.right').css('height', lhenght+'px')

2, use flexbox (compatible)
3, grid (compatible)


it's easy to use flex

</div>
    </div>
</body>
</html>
Menu