NewCode with Beto MCP

Tutorial React Login with Tailwind CSS | 2022

Beto, May 18, 2022 · 41,400 views

Nothing gets you comfortable with Tailwind CSS faster than building a real login page. I create a responsive split-screen layout in React: form on the left, a blurred gradient sphere on the right, all with utility classes and zero custom CSS. Every step is in the video, from to the final hover animations.

What's inside

  • Installing and configuring Tailwind in a fresh React project
  • A split layout that collapses to full width on mobile
  • The gradient sphere: , violet to pink, fully rounded
  • Mobile-first responsive design using modifiers
  • Hover and press animations on buttons, pure Tailwind
  • Why you need to restart the dev server after config changes

Resources

CourseReact with TypeScript course

Let's connect!

Had a win? Get featured on Code with Beto.Share your story