I came across a pure CSS slider on GitHub that caught my eye, but unfortunately it is not responsive. I attempted to modify the .gallery .item
with a width of 100%
, however, it seems that the height must be specified in pixels as using %
doesn't yield the desired result - without a defined height, the slides become barely visible.
If you'd like to see the slider in action, check out this demo:
You can find the source code on GitHub here:
When resizing the browser window, you'll notice that the slider's height remains constant. Is there any way to make this slider responsive?