A
A
Andrey Filimonov2017-04-17 15:52:10
css
Andrey Filimonov, 2017-04-17 15:52:10

Are pictures moving out of a carousel made list?

Hello, there is a carousel
on the main page of the site

spoiler






























I decided to replace the pictures in it through srcset for mobile screens, I inserted something like this code for a couple of pictures:
<li>				
  <picture>
  <source media="(max-width: 659px)" srcset="https://gymbalance.ru/wp-content/themes/gymbalance/images/gimnastics_glav/small.jpg">
  <source srcset="https://gymbalance.ru/wp-content/themes/gymbalance/images/gimnastics_glav/big.jpg">
  <img srcset="https://gymbalance.ru/wp-content/themes/gymbalance/images/gimnastics_glav/big.jpg">
</picture>
   </li>

As a result, pictures slide under the carousel in mobile form: 80f7d7cea53f474cb37c99fe05391116.pngwhy? how to avoid?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question