I'm trying to set up Flickity carousel. It's working, but my images don't re-size with smaller screen. The just get cut off.
I tried making images 100% width. Both in HTML and CSS. That made the images disappear altogether. I tried inserting the images on the HTML side and also as a background in CSS. Nothing has changed it. What am I missing? Any help much appreciated.
Here is my UPDATED HTML code. Included the flickity links I have in the head.
<head>
<link rel="stylesheet" href="flickity-docs/flickity.min.css" media="screen">
<script src="flickity-docs/flickity.pkgd.min.js"></script>
</head>
<div class="main-carousel" data-flickity='{ "cellAlign": "left", "lazyLoad": true, "wrapAround": true, "autoPlay": true, "autoPlay": 6500}'>
<div class="carousel-cell"><img class="carousel-cell-image" data-flickity-lazyLoad="images/photos/natchez-trace-parkway1-CROPPED.jpg" /> </div>
<div class="carousel-cell"><img class="carousel-cell-image" data-flickity-lazyLoad="images/photos/waterskiing.jpg" /> </div>
<div class="carousel-cell"><img class="carousel-cell-image" data-flickity-lazyLoad="images/photos/retire.jpg" /> </div>
</div>