L
L
lynnikvadim2015-12-24 23:20:37
css
lynnikvadim, 2015-12-24 23:20:37

How to adapt bootstrap carousel?

I'm using a standard carousel.
You want the height to be 450px and the width 100%.
But I can't align the image so that it doesn't lose its proportions.
How can this be implemented?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Plyusnin, 2015-12-25
@rpe4a

You can try putting the image as background-image. And set properties background-size: cover;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question