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

HN commenter farlington's response to the CSS challenge on this “Apple Keyboard in pure CSS” Hacker News thread.

Found auditing the “Help & Inspiration” citations of Mathew Preziotte's very excellent Party Mode repo.


  1. Really cool.

    But it would be super awesome to be able to get the "caps lock" green led on, when the caps lock key is pressed :)

  2. why do you need the JS why not use :active ?

  3. Wow, this is very nice! Would be cool if typing on your actual keyboard would trigger the "down" CSS of the corresponding key on the digital keyboard.

  4. Honestly, How long did this take to accomplish?

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

You must be logged in to comment.