How to create an image strip with HTML5 and CSS3?

3.4k Views Asked by At

I want to make horizontal strip of image thumbnails using HTML5 and CSS3. and scroll it horizontally. can anyone tell me how do i proceed?

1

There are 1 best solutions below

0
On

Try setting the css:

<div style="white-space:nowrap; overflow-x: scroll">
<img><img><img> <!-- Images here -->
</div>

nowrap prevents contents from wrapping, and overflow-x: scroll causes overflows in the x-direction to have a scroll bar