Patrick Kontschak, the author of this CSS snippet writes: this is a WIP. I will rewrite most of the code, separate it into 3 or more files and release it on GitHub. I’ll update this pen once I’m done. Thank you Chris for creating CodePen. I think the fact that I could see the changes immediately and still use HAML and SASS was what pushed me to finally build this and come up with the idea.