From our sponsor: Meco is a distraction-free space for reading and discovering newsletters, separate from the inbox.
Today we’d like to share a little grid layout with you. We use CSS Grid and a playful hover effect on the grid items which are composed of different wildly placed elements. When an item is clicked, we slide in a content preview overlay and animate the grid items out and the preview items in. For the animations we use TweenMax by Greensock.
The inspiration for this demo comes from Brian Roettinger’s design WORDS IMAGE SOUND.
The demo is kindly sponsored by monday.com: Get your team on the same playbook!. If you would like to sponsor one of our demos, find out more here.
Here’s how the grid looks like:
The content preview overlay looks like this:
Tiny break: 📬 Want to stay up to date with frontend and trends in web design? Subscribe and get our Collective newsletter twice a tweek.
We hope you enjoy this little layout and find it useful!
References and Credits
- TweenMax by Greensock
- Images from Unsplash.com
- imagesLoaded by Dave DeSandro
- Cross icon designed by Freepik
Manoela: This is fantastic. My homework for today.
And I do appreciate you in my website.
https://www.gigiyut.com/about-me.html….Hover over your name….I guess the whole website is full of yours and Claudia’s stuff.
Status report: Demo does not play well on Chrome and win 7 machine. Text does not show.
And Unfortunately, I could not make it work with weebly. It will not open the overlay. But I think I can salvage it by giving direct links to images to other pages.
Mary Lou, you’re one of the most delightful things that’s ever happened to the Internet. I am consistently in awe.
Nice Smiths reference 😉
Appreciate the site and the consistently amazing demos. I wish though that these demos came with a tutorial or at least liberally commented code (for us JS noobs).
Commented code would be awesome!
This is Amazing! Fair play Mary Lou for making this 🙂
same thing here, class based js is not easy to read without comments, and should not be used unless hundred thousand elements…