Bruno Krebs
Bruno Krebs

Reputation: 3149

Bug (?) on Bootstrap 3 Carousel

I have used bootstrap 3 carousel and the images inside it were not getting resized accordingly.

After making this chage:

.carousel-inner > .item > img {
    min-width: 100%;
    width: 100%;
}

As shown in: Make bootstrap carousel responsive on height

It worked perfectly.

Would it be a bug or after making this change I will suffer some side effect?

Upvotes: 1

Views: 641

Answers (1)

Orelsanpls
Orelsanpls

Reputation: 23505

This is not a "BUG".

Bootstrap carousel doesn't handle correctly pictures that have not the same size.

Here is a good tutorial that give a solution to the problem.

Upvotes: 3

Related Questions