A
A
Artyom2016-04-06 15:39:53
css
Artyom, 2016-04-06 15:39:53

How to adapt an image to a carousel?

There is such a carousel .
How to adapt images to it? If they are all the same size. Because now everything is correctly displayed only in one resolution, in the rest the picture either falls out of the carousel or becomes smaller.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2016-04-06
@rpsv

Add to CSS (below bootstrap of course):

.carousel-inner {
height: 100%;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question