@MarkoLukesevik
Posted
Nice work Kevin, if you want make horizontal scroll with pure css you can check this site: https://css-tricks.com/pure-css-horizontal-scrolling/ Its pretty easy, you just need to rotate the container 90 degrees counterclockwise so the bottom is to the right and then rotate the items back to correct-side up. everything is well explained here on the link for css-tricks. Hope this was helpful. Keep up the good work!
Marked as helpful
@kevinndlc
Posted
Thank you for your answer @MarkoLukesevik ,
I had seen this article but the main problem was that I had to set the initial height of my container to the size of 100% of my remaining width in my layout (to have an equivalent of width: 100% after rotation) ; And unfortunately I don't think there is a way to specify the width of a parent block when setting the height of an element (unless I do a calc(100vw - the space of all horizontal margins, paddings - the width of my sidebar)) but that makes it quite complex)
So I think next time I'll do it directly in JS, thanks anyway :D