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

Comments

  1. This only works when the required attribute is added to the input. How do you get it to work without the required attribute?

  2. @atc07 It's required for the effect. If you don't want the field to be actually required, wrap it in ´╝ťform novalidate´╝×

  3. Just a heads-up, you are missing the Placeholder prefix for Firefox, so the "First Name" and "John Doe" text are stacked in firefox. Looks great in Chrome though.

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

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