login.html
1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html lang="ko">
<head>
<style type="text/css">
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: "맑은 고딕";
font-size: 0.75em;
color: #333;
}
#login-form {
width: 250px;
margin: 100px auto;
border: 10px solid skyblue;
border-radius: 5px;
padding: 15px;
}
#login-form label {
display: block;
}
#login-form label {
margin-top: 10px;
}
#login-form input {
margin-top: 5px;
}
/* 애트리뷰트 선택자 */
#login-form input[type='image'] {
margin: 0px auto;
width: 90px;
height: 40px;
}
#login-form input[type='button'] {
background: url( "images/join.png" ) no-repeat;
background-position: center center;
background-size: contain;
border: none;
width: 90px;
height: 50px;
}
</style>
</head>
<body>
<form id="login-form" action="#" method="POST">
<label class="Legend" for="id">아이디</label>
<input id="id" type="text" maxlength="20" name="userid" />
<label class="Legend" for="password">패스워드</label>
<input id="password" type="password" maxlength="20" name="userpassword"/>
</br></br>
<input type="image" src="images/login_btn.png" value="로그인">
<input type="button" onclick="location.href='join.html'"/>
</form>
</body>
</html>