I'm creating a site mobile with responsive design.
Within a div
I have a slideshow that shows 300x300 images, I need to make that slideshow responsive without touching the width
and height
fault attributes of it. The code is something like this:
<div id="div-de-fora">
<div id="div-do-slideshow">
[elementos do slideshow]
</div>
</div>
//css
#div-do-slideshow{
width:300px;
}
#div-de-fora{
?????
}
Stirring in width
of #div-do-slidshow
is not possible since it uses the left
attribute to swap images.
You can change the slideshow display using only CSS, parameters, etc. No #div-de-fora
?
I've tried using iframe
and FlexBox but I was not successful.
In this project I'm not using jQuery, the solution should use only HTML, CSS and pure JavaScript.