Last active
December 10, 2015 17:18
-
-
Save charlycoste/4466393 to your computer and use it in GitHub Desktop.
Login form
This file contains hidden or 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 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
<head> | |
<title></title> | |
<link href="style.css" rel="stylesheet" type="text/css" /> | |
</head> | |
<body> | |
<form method="post" action="/"> | |
<fieldset> | |
<legend>Login</legend> | |
<label> | |
<span>Login</span> | |
<input type="text" name="login" /> | |
</label> | |
<label> | |
<span>Password</span> | |
<input type="password" name="password" /> | |
</label> | |
<input type="submit" value="OK" name="button" /> | |
</fieldset> | |
</form> | |
</body> | |
</html> |
This file contains hidden or 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 { | |
font-size : 62.5%; | |
} | |
form { | |
width : 190px; | |
} | |
fieldset { | |
border : 0; | |
margin : 0; | |
padding : 0; | |
} | |
legend { | |
cursor : pointer; | |
display : block; | |
width : 100%; | |
font-size : 2em; | |
padding : 0; | |
text-align : center; | |
} | |
label { | |
padding : 10px; | |
width : 170px; | |
} | |
span { | |
display : block; | |
font-size : 14px; | |
margin : 5px; | |
} | |
label input { | |
padding : 5px; | |
width : 160px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment