MinsoftK

add placeholder and make media query.css

grid setting not finish
......@@ -3,6 +3,7 @@
<head>
<title>KHU KHU Chat</title>
<meta charset="utf-8">
<link rel="stylesheet" href="mediaquery.css">
<link rel="stylesheet" href="style.css">
<style>
......@@ -24,15 +25,12 @@
<div id="article">
<h2>로그인 </h2>
<form class="formlogin" action="loginmain.html" method="post" id="login">
<label for="email">Email:</label><br>
<input type="text" id="Email" name="email"><br>
<label for="password">password:</label><br>
<input type="password" id="password" name="password"><br><br>
<input type="submit" value="로그인"><br>
</form>
<form class="formlogin" action="signinmain.html" id="signin">
<input type="submit" value="회원가입">
<label for="email">이메일:</label><br>
<input type="text" id="Email" name="email" placeholder="이메일을 입력하세요."><br>
<label for="password">비밀번호:</label><br>
<input type="password" id="password" name="password" placeholder="비밀번호를 입력하세요."><br><br>
<input type="submit" value="로그인">
<input type="button" value="회원가입" onclick="location.href='signinmain.html'">
</form>
</div>
......
......@@ -4,9 +4,7 @@
<title>KHU KHU Chat</title>
<meta charset="utf-8">
<link rel="stylesheet" href="style.css">
<style>
</style>
</head>
<body>
......
<style>
@media screen(min-width:320px) and (max-width:480px){
#grid
{
display: grid;
grid-template-rows: 250px 1fr;
border-top:1px solid gray;
}
#grid ol
{
padding-left: 40px;
margin:0;
font-size: 15px;
}
#grid li
{
padding-top: 10px;
padding-bottom: 10px;
font-size:15px;
}
#grid #article
{
padding-top: 10px;
padding-bottom: 10px;
padding-left: 20px;
/*grid안에 #article */
}
}
@media screen(min-width:480px) and (max-width:800px){
#grid
{
display: grid;
grid-template-columns: 600px 1fr;
border-top:1px solid gray;
}
#grid ol
{
padding-left: 40px;
margin:0;
font-size: 15px;
}
#grid li
{
padding-top: 10px;
padding-bottom: 10px;
font-size:15px;
}
#grid #article
{
padding-top: 10px;
padding-bottom: 10px;
padding-left: 20px;
/*grid안에 #article */
}
}
</style>
......@@ -26,11 +26,11 @@
<h2>회원가입</h2>
<div id="inputset">
<form class="signinform" action="loginmain.html">
<label for="email">Email:</label><br>
<input type="text" name="email"><br>
<label for="email">이메일:</label><br>
<input type="text" name="email" placeholder="이메일을 입력하세요."><br>
<label for="password">password:</label><br>
<input type="password" name="password"><br>
<label for="password">비밀번호:</label><br>
<input type="password" name="password" placeholder="비밀번호를 입력하세요."><br>
<label for="name">이름:</label><br>
<input type="text" name="name"><br>
......
......@@ -29,7 +29,7 @@
display: block;
margin-left: auto;
margin-right: auto;
width: 60%;
width: 50%;
margin-bottom:10px;
}
......@@ -38,6 +38,19 @@
color: black;
text-decoration: none;
}
@media screen(min-width:320px) and (max-width:480px){
#grid
{
display: grid;
grid-template-rows: 250px 1fr;
border-top:1px solid gray;
}
}
@media screen(min-width:480px) and (max-width:800px){
}
#grid
{
display: grid;
......