How do I give this carousel a fixed height?

this is what I wanted to achieve:

instead of the slides taking up full space of the page like this :

codepen link:

Hello. Do you want to set the carousel’s pixel height or responsive in percents?

You can set .carousel-item{ height: 1900px;} and img.d-block{height: 30%;}