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


Hi,

Just use inline styles on these images. You can use height, min-height, max-height. Here is the snippet https://mdbootstrap.com/snippets/standard/d-wajszczuk/3593050.

Keep coding,
Dawid



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

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