How do I give this carousel a fixed height?

How do I give this carousel a fixed height?
0.0 0

#1

this is what I wanted to achieve:

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

codepen link: https://codepen.io/zhouxiang19910319/full/ZxmZQd/


#2

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


#3

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