Floating Labels with Tailwind CSS

In this video, you’ll learn how to pull off that cool “floating labels“ effect using just Tailwind CSS utility classes. We’ll use a bunch of new features added in Tailwind CSS v2.2, including the new placeholder-shown variants and the `peer` sibling selector variant. Source code: Tailwind CSS v2.2:
Back to Top