L
L
Ludmila2016-10-24 17:49:29
Bootstrap
Ludmila, 2016-10-24 17:49:29

How to display slider?

Good afternoon!
Could you tell me how to solve this problem correctly:
I have a bootstrap slider, the most common bootstrap slider. The pictures in it are rectangular, as usual.
So, on the desktop - it's normal, at 768 - it's also normal, but at 360 you need to somehow make the picture become square. The image was not compressed, but it was cut off and became a square.
I can't even imagine...
Thank you all in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
A person from Kazakhstan, 2016-10-24
@LenovoId

what if you use two sliders? one is not visible, but if the media query is less than 360px, show the other - the option is not ideal, but quite working

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question