This is a simple user registration form created by MDL (Material Design Lite)
Last active
September 20, 2016 15:05
-
-
Save mdbadsha/b63246cc1202229e8522345f7f2a6e39 to your computer and use it in GitHub Desktop.
MDL Registration Form
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
<body> | |
<div class="mdl-card-square mdl-card mdl-shadow--2dp"> | |
<div class="mdl-card__title"> | |
<h2 class="mdl-card__title-text">Registration</h2> | |
</div> | |
<div class="mdl-card__supporting-text"> | |
<form action="#"> | |
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> | |
<input class="mdl-textfield__input" type="text" id="name"> | |
<label class="mdl-textfield__label" for="name">Full Name</label> | |
</div> | |
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> | |
<input class="mdl-textfield__input" type="email" id="email"> | |
<label class="mdl-textfield__label" for="email">Email</label> | |
</div> | |
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> | |
<input class="mdl-textfield__input" type="password" id="password"> | |
<label class="mdl-textfield__label" for="password">Password</label> | |
</div> | |
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> | |
<input class="mdl-textfield__input" type="password" id="repassword"> | |
<label class="mdl-textfield__label" for="repassword">Retype Password</label> | |
</div> | |
<span class="mdl-title">Gender : </span> | |
<label class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="male"> | |
<input type="radio" id="male" class="mdl-radio__button" name="options" value="male"> | |
<span class="mdl-radio__label">Male</span> | |
</label> | |
<label class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="female"> | |
<input type="radio" id="female" class="mdl-radio__button" name="options" value="female"> | |
<span class="mdl-radio__label">Female</span> | |
</label> | |
</div> | |
<div class="mdl-card__actions mdl-card--border"> | |
<button type="submit" class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored"> | |
Sign Up | |
</button> | |
</form> | |
</div> | |
</div> | |
</body> | |
</html> |
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
.mdl-card__title{ | |
background-color: #0BC6DC; | |
} | |
body { | |
margin: 30px 280px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment