Skip to content

Instantly share code, notes, and snippets.

@mustafaaloko
Created November 8, 2017 05:49
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mustafaaloko/1e210b2110098185dc4765fb6ab12d5d to your computer and use it in GitHub Desktop.
Save mustafaaloko/1e210b2110098185dc4765fb6ab12d5d to your computer and use it in GitHub Desktop.
<!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">
<link rel="stylesheet" href="dist.css">
<title>Login</title>
</head>
<body class="bg-grey-lighter h-screen font-sans">
<div class="container mx-auto h-full flex justify-center items-center">
<div class="w-1/3">
<h1 class="font-hairline mb-6 text-center">Login to our Website</h1>
<div class="border-teal p-8 border-t-12 bg-white mb-6 rounded-lg shadow-lg">
<div class="mb-4">
<label class="font-bold text-grey-darker block mb-2">Username or Email</label>
<input type="text" class="block appearance-none w-full bg-white border border-grey-light hover:border-grey px-2 py-2 rounded shadow" placeholder="Your Username">
</div>
<div class="mb-4">
<label class="font-bold text-grey-darker block mb-2">Password</label>
<input type="text" class="block appearance-none w-full bg-white border border-grey-light hover:border-grey px-2 py-2 rounded shadow" placeholder="Your Password">
</div>
<div class="flex items-center justify-between">
<button class="bg-teal-dark hover:bg-teal text-white font-bold py-2 px-4 rounded">
Login
</button>
<a class="no-underline inline-block align-baseline font-bold text-sm text-blue hover:text-blue-dark float-right" href="#">
Forgot Password?
</a>
</div>
</div>
<div class="text-center">
<p class="text-grey-dark text-sm">Don't have an account? <a href="#" class="no-underline text-blue font-bold">Create an Account</a>.</p>
</div>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment