Tailwind Cards Example
Web2tailwind.com

Output

Code

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
 <link
        href="https://fonts.googleapis.com/css?family=Material+Icons|family=Raleway:[email protected];300;500;600&Roboto:[email protected];300;500&display=swap"
        rel="stylesheet">
    <link href="https://unpkg.com/[email protected]^1.0/dist/tailwind.min.css" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected]/dist/alpine.min.js" defer></script>
    <link href="https://fonts.googleapis.com/css?family=Source+Code+Pro|Roboto&display=swap" rel="stylesheet">
</head>

<body style="font-family:Roboto">
    <div class="flex justify-center items-center h-screen md:-mx-4">
        <div class="w-full max-w-sm">
          <a href="https://jagirhouse.com/jobseeker/register">
              <div class="w-full bg-yellow-500 flex items-center px-4 py-6 my-4 rounded">
                  <div class="pr-4">
                      <span class="material-icons fill-current text-gray-800">
                          group
                      </span>
                  </div>
                  <div class="flex-1">
                      <div class="text-xs text-gray-800 leading-none">Jobseeker</div>
                      <div class="text-xs font-light text-gray-800">Looking For Jobs ?</div>
                  </div>
                  <div class="flex items-center text-xs text-gray-900">
                      <span class="underline">Sign up</span>
                      <span class="material-icons fill-current text-gray-900 text-xs font-light">
                          arrow_right_alt
                      </span>
                  </div>
              </div>
          </a>
          <a href="https://jagirhouse.com/employer/register">
              <div class="w-full bg-gray-900 flex items-center px-4 py-6 my-4 rounded">
                  <div class="pr-4">
                      <span class="material-icons material-icons fill-current text-yellow-500">
                          domain
                      </span>
                  </div>
                  <div class="flex-1">
                      <div class="text-xs text-gray-300 leading-none">Company</div>
                      <div class="text-xs font-light text-gray-100">Are you Recruting ?</div>
                  </div>
                  <div class="flex items-center text-xs text-yellow-500">
                      <span class="underline">Post a Job</span>
                      <span class="material-icons fill-current text-yellow-500 text-xs font-light">
                          arrow_right_alt
                      </span>
                  </div>
              </div>
          </a>
      </div>
    </div>
</body>

</html>
© 2019 - 2021 Web2tailwind.com