Find Jobs
Hire Freelancers

Pinterest like images grid (single page) No JS, Perfect Cumulative Layout Shift (CLS) score required

$30-250 USD

In Progress
Posted almost 3 years ago

$30-250 USD

Paid on delivery
I need a HTML/CSS only image grid like shown here: [login to view URL] I don't want to use masonry or other JavaScript lib, as this moves the images around after the page has been loaded, causing a bad Google Cumulative Layout Shift (CLS) rating. Pinterest seems to solve this issue without JavaScript. I know the height and width of each image, so when rending the grid via PHP we can use that information to "build" the right html. It's important that images render from left to right. Not down. All images have a fixed width, and variable height. But both values are known in advance. I currently use masonry to render this grid, but I want to move away from this to achieve a perfect Cumulative Layout Shift (CLS) rating. On resize of the page, the columns should re-adjust. I just need a single page HTML/CSS, I will then implement it on my website myself.
Project ID: 30566392

About the project

5 proposals
Remote project
Active 3 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of SPAIN
Ordino, Spain
0.0
0
Member since Mar 18, 2011

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.