Last active
August 31, 2018 11:53
-
-
Save ajmeyghani/92767ea290be5052a8bf9c9a0f9cd661 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Shake Login Form</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/2.2.0/anime.js"></script> | |
</head> | |
<body> | |
<div class="page"> | |
<div class="login-form" id="js-login-form"> | |
<p class="form-title">Login to your account</p> | |
<form action="javascript:void 0" onsubmit="send()"> | |
<div class="form-group"> | |
<label for="">Email</label> | |
<input type="text" id="js-email"> | |
</div> | |
<div class="form-group"> | |
<label for="">Password</label> | |
<input type="password" id="js-password"> | |
</div> | |
<p class="forgot-password"><a href="">Forgot Password?</a></p> | |
<div class="submit"> | |
<input type="submit" value="Login"> | |
<div class="spinner js-spinner"></div> | |
</div> | |
</form> | |
<footer> | |
<p>Don't have an account?</p> | |
<p> | |
<a href="">Create an Account</a> | |
</p> | |
</footer> | |
</div> | |
</div> | |
<script> // animation goes here </script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment