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

Just a simple card flip, toggled by a :checked input field! Feedback welcome -- how can I improve? Thanks for looking. (Okay it's not technically pure CSS but all the JS does is toggle the checkbox with a keypress, so...)

Comments

  1. Looks great! There's a slight bug in Safari where after you click the toggle and the card flips, half of the other card side shows for a moment. You may want to set opacity: 0; on the side not being shown right as the card is being flipped so that this doesn't happen. It looks really good ^___^

  2. @gabriellewee Thank you so much! I'll look into that and get the bug squashed. Thanks for your feedback ❤

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

You must be logged in to comment.
Loading...
Loading...