본문 바로가기
Project Development/Java_programming

로그인 페이지

by SeleniumBindingProtein 2021. 12. 14.
728x90
반응형
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>로그인</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500&display=swap" rel="stylesheet">
	<link rel="stylesheet" href="login.css">
</head>
	<body>
		<div class="wrap">
			<form name="frmLogin" action="login4" method="post" class="frmLogin"
             		enctype="application/x-www-form-urlencoded" accept-charset="utf-8">
              	<div class="loginFrm">
              		<div class="frmList">
              			<h2>로그인</h2>
						<div class="login_id">
							<label><span>아이디 : </span><input class="text" name="user_id" placeholder="아이디"></label>
						</div>
		
						<div class="login_pw" >		
							<label><span>비밀번호 : </span><input class="password" type="password" name="user_pw" placeholder="비밀번호"></label>
						</div>
		
						<div class="login_btn">
							<input type="checkbox" name="user_save"> 아이디/패스워드 저장
  							<input class="btnSubmit" type="submit" value="로그인">
						</div>
						
						<div class="sign_up">	
							<a class="join" href="#">회원가입</a>
 							<a class="searchIdAndPwd" href="#">아이디/패스워드찾기</a>
						</div>		
					</div>
				</div>
			</form>
		</div>
	</body>
</html>
@charset "UTF-8";
*{
    font-family: 'Noto Sans KR', sans-serif;
}
.body{
	margin: 5;
    padding: 0;
    font-size: 30px;
    text-align: center;
}

.wrap{
	width: 1080px;
    margin: 0 auto;
}

.loginFrm{
	display: flex;
    flex-wrap: wrap;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.frmList h2{
	margin: 0px 5px 0px 0px;	
}

.frmList{
	width:350px;
    text-align: center; 
    height: 250px;
    border: 1px solid grey;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    margin: 5px;
}

.frmList input {
	border-radius: 8px;
	margin: 10px;
}

.text{
	width: 60%;
}

.password{
	width: 60%;
}

.formList label span{
    width: 100px;
    display: inline-block;
    font-size: 22px;
}

.btnSubmit{
	width: 300px;
	height: auto;
	font-size: 20px;
	margin: 0 auto;
    text-align: center;
    border: 1px solid blue;
    color: blue;
    background-color: rgba(0,0,0,0);
}

.btnSubmit:hover{
    transition: 0.5s;
    background-color: highlight;
}

.sign_up a{
	text-decoration: none;
 	text-align: right;
    border: 1px solid maroon;
    color: maroon;
    font-size:15px;
    border-radius: 10px;
    padding: 2px;
}

.sign_up a:hover{
    transition: 0.5s;
    background-color: buttonshadow;
}

 

728x90
반응형

'Project Development > Java_programming' 카테고리의 다른 글

아이디 찾기 - DB 연결  (0) 2021.12.15
회원가입 - DB 연결  (0) 2021.12.14
쇼핑몰 홈페이지  (0) 2021.12.14
회원가입 페이지  (0) 2021.12.14
웹 레이아웃  (0) 2021.12.12

댓글