How do I make a list of items where each of the items gets resized based on the screen resolution, like on the Roblox website?

I want the UI items to be resized like in the video above. I’ve tried using the ‘Flex’ thing, but I never really understood what I was doing, which just ended up looking like this: