E
E
Eugene2018-08-16 15:31:57
Bootstrap
Eugene, 2018-08-16 15:31:57

How to fix Bootstrap slider layout?

Hello!
I've already broken all my brains, but I can't understand why the content of this slider doesn't adapt as it should? Each slide is a different height. Tin. I could not give birth to a solution devoid of all the minuses. And you just need a working slider)
Poke, please, where is the error and how to fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2018-08-16
@UPSA

Well... my personal opinion...
I don't like your "col" classes)))

<div class="row"> ---  раздели на строки .... 
       <div class="col-12"></div>
</div>
<div class="row">
      <div class="col"></div> --- а тут  определи ширину grid
      <div class="col"></div> --- и тут  определи ширину grid
</div>

Thus, at least you can define the width
. And then there are many ways.... either the photo adjusts to the div and scales itself, or the div cuts off a part of the photo that does not fit into the specified parameters

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question