Jump to content
Search Community

Portfolio Gallery Filtering Using Flip - Assigning Grid Areas?

Serafla test
Moderator Tag

Recommended Posts

Hi, I'm a student creating my portfolio website right now. I wanted to use the Flip plugin like in this codepen to be able to filter my projects by category, but the only thing is I want to use an irregular grid with a 2:1 ratio. Basically, one project will be as tall as two projects next to it. I've attached an image to show this. 

 

I was wondering how I might use this grid to display my projects. Not sure if I should make grid areas a variable that I assign to projects after they are filtered, or if there is a better way to do this without grid areas. 

 

The other question I have pertaining this issue is how to make it responsive so that I can have a different grid for small, medium, large, and extra large devices. My intent is to stack the projects vertically on top of each other for small, a 2x6 grid for medium, and the 2:1 ration for large and xl. 

 

Thanks so much.

Screen Shot 2022-03-11 at 6.38.16 PM.png

See the Pen c0311da91ea4d96722eea42384f45712 by GreenSock (@GreenSock) on CodePen

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...