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

An interactive CSS version of this GIF of a skeuomorphic lever from MagniGeeks. No IE support.


  1. Looks great!

  2. I don't believe it! How do you create the design with gradients to begin with? Is this by hand or do you have a tool that gives you the radial-gradient to paste in the CSS?

  3. @dotnetCarpenter All by hand! There are, however, some parts with border-radius: 50% to ensure animated box shadows are round and not square.

  4. Really cool

    How can someone be able to decide kind and shades of gradients needed to draw that 3d leaves

    I am totally amazed

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

You must be logged in to comment.