Topic: How to set the image height? and make it responsive

Alejo Palma Santoro free asked 2 years ago

The size of the carousel changes according to the height of the image

img/productos_mar_01.png" class="d-block w-100 rounded" alt="Wild Landscape" />

Dawid Wajszczuk staff answered 2 years ago


Just use inline styles on these images. You can use height, min-height, max-height. Here is the snippet

Keep coding,

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 3.10.1
  • Device: notebook
  • Browser: chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No