css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv
CodePen probably won't work great in this browser. We generally only support the major desktop browsers like Chrome, Firefox, Safari, and Edge. Use this one at your own risk! If you're looking to test things, try looking at Pens/Projects in Debug View.
user profile image

This was inspired by an old blog post of Sohtanaka. He had created a similar effect using jQuery. I decided to replicate the same effect with CSS3. My final result is slightly different compared to his but it is still the same effect. Link to the original tutorial and demo is included in the pen above.

Artworks belong to Mernan Behairi. Link to her blog/portfolio is included in the pen as well.


  1. Just beautiful! Who did the artwork?

  2. This is fantastic. I'm trying to do this same thing with an on-click event without having to use javascript. Any ideas?

Leave a Comment Markdown supported. Click @usernames to add to comment.

You must be logged in to comment.