Jump to content

How can one images in a format like Google images?


helloworld001

Recommended Posts

If you search for images on Google images, you will see how they setup their images, side by side and have infinity scroll.  I don't care about the infinity scroll part, but I am interested in how they set up the images? My plan is to retrive the images from the database and use pagination numbers.

It's just a bunch of divs containing the images, with the divs having the css of display: inline-block. Just view the source code or use your browsers developer tools so you can hover over something on the page and see it's HTML/CSS.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.