간단한 로그인페이지(2)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
*{
margin: 0;
padding: 0;
}
.container{
display: flex;
flex-direction: column;
margin-top: 200px;
}
.content{
display: flex;
flex-direction: column;
justify-content: center;
margin: 0 auto;
border: 1px solid black;
border-radius: 10px;
padding: 20px;
background-color:aquamarine;
}
.login_image{
background:linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url("image/background_partern.jpg");
width: 400px;
height: 300px;
text-align: center;
margin-bottom: 20px;
border: 1px solid black;
color: white;
border-radius: 10px;
}
.login_image h1{
display: flex;
justify-content: center;
margin-top: 100px;
margin-bottom: 20px;
}
#a{margin-bottom: 10px;}
#b{margin-bottom: 20px;}
#c{
display: flex;
flex-direction: column;
text-align: center;
border: 1px solid black;
padding:1.6em 0;
border-radius: 10px;
background-color: white;
}
#d{
width: 100px;
color: red;
margin-left: 140px;
cursor: pointer;
}
</style>
</head>
<body>
<div class="container">
<div class="content">
<div class="login_image">
<h1>로그인페이지</h1>
<p>아이디와 비밀번호를 입력하세요</p>
</div>
<div id="c">
<p id="a">ID:<input type="text"></p>
<P id="b">PW:<input type="password"></P>
<button id="d">로그인하기</button>
</div>
</div>
</div>
</body>
</html>
Author And Source
이 문제에 관하여(간단한 로그인페이지(2)), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://velog.io/@kdw0247/간단한-로그인페이지2저자 귀속: 원작자 정보가 원작자 URL에 포함되어 있으며 저작권은 원작자 소유입니다.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)