I didn't like the original (https://codepen.io/brianhaferkamp/post/create-a-basic-filtering-system) so decided to refactor (https://gist.github.com/thinsoldier/7d7152216d848d6894a18299c64aab9e/revisions?diff=split).
This is a very simple filtering system using jQuery class switching. It could also be done with vanilla JavaScript. The grid is created using CSS Grid Layout. This filter is a good starting place to do some cool things.
I often need just a basic filter for portfolios or categories and it's nearly impossible to find a plugin that just works. So I created one. Feel free to use it in your projects.
Update: This is fully responsive now. I fixed some of the issues with scrolling and padding.
A Pen by thinsoldier on CodePen.