Responsive horizontal scroll
Hey! I can't find a way to create a responsive horizonat scroll like instagram stories. For small screens it should feel like stories scroll. For larger screens scroll area should resize based on elements around it. I already spent 2 weeks on it... Any help would be appreciated
Reproduction: https://codepen.io/yoyovj/pen/vEBGmRZ
2 Replies
For example here I am trying to make so that scroll area would become smaller and allowed to fit in the button. But the button overflows to the right and scroll does not appear at all
The it seems like scroll stops working when I wrap scroll container with flex. But thats all I was able to figure out