Bootstrap class: .mh-100

<img class="mh-100" src="#" alt="Max-height 100%">

Preview

Max-height 100%

Tips 💡

More in Bootstrap Sizing