Get Appointment

Blog Single

How to Clone a WordPress Login Page in Tailwind CSS: Step-by-Step Tutorial

  • Vfix Technology
  • 16 Sep 2024
  • Website Development ,  Tailwind CSS
  • 184 Views

In this tutorial, learn how to clone a WordPress login page using Tailwind CSS. This step-by-step guide will show you how to replicate the structure of the WordPress login page while maintaining responsiveness and customization flexibility. Download the full source code to get started and easily modify the design to match your website's look and feel.

<!doctype html>
<html>
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <script src="https://cdn.tailwindcss.com"></script>
</head>
<body>
    <div class="flex flex-col h-screen bg-gray-100 items-center justify-center">
        <img class="w-20 mb-3" src="https://img.icons8.com/?size=100&id=13664&format=png&color=000000" alt="">
        <div class="p-4 border boder-1 bg-white w-[320px]">
            <div class="mb-3">
                <label for="" class="text-sm">Username or Email Address</label>
                <input type="email" name="" class="w-full border border-1 p-1.5 focus:outline-none rounded-sm focus:rounded-sm focus:ring-sky-700 focus:ring-[2px]" id="">
            </div>
            <div class="mb-3">
                <label for="" class="text-sm">Password</label>
                <input type="password" name="" class="w-full border border-1 p-1.5 rounded-sm focus:rounded-sm focus:outline-none focus:ring-sky-700 focus:ring-[2px]" id="">
            </div>
            <div class="flex items-center justify-between">
               <div class="flex">
                <input type="checkbox" id="remembeMe">
                <label for="remembeMe" class="ps-1">Remember me</label>
               </div>
                <div>
                    <button class="text-sm bg-sky-700 hover:bg-sky-800 py-1.5 px-2 rounded-sm text-white">Log In</button>
                </div>
            </div>
        </div>
        <div class="mt-5 w-[320px] text-start">
            <p class="ps-5 text-sm mb-5"> Register | Lost your password? </p>
            <p class="ps-5 text-sm mb-5">← Go to Farrier Tools </p>
            <p class="ps-5 text-sm mb-5 text-center text-sky-700 underline">Privacy Policy</p>
        </div>
    </div>
</body>
</html>

By following this tutorial, you’ve successfully cloned the WordPress login page using Tailwind CSS. This simple, responsive design can be customized to match your branding and improve the user experience on your website. Feel free to modify the source code to meet your specific requirements.

Happy coding!



+91 8447 525 204 Request Estimate