Hello everyone,
I would like to accomplish the following thing.
I would like to have a div1 (or container) that has a 100% width. Inside that element I would like to have another element (div2 probably) that is going to have a width depending on the stuff inside.
I want to put images inside with 50% width.
Div1
Div2
Image1
Image2
Image3 …
I want to get all the images one next to the other, if I have 2 of course I will have 2 50% width images, so the 100% total width, but if I have 3 I would like mi Div2 width to be 150% and to have an horizontal scroll that appears to scroll and see the next image. If 5 images width of 250% and so one.
Is this possible?
Ps. I did it with a determined div2 width, but couldn do that the width depends on the quantity of images.
Thank you!