Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5주차 Assignment - 오동재 #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
120 changes: 120 additions & 0 deletions dongjae/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
#container {
width: 418px;
margin: 0 auto;
padding: 45px 0;
border: 1px solid #d3d3d3;
border-radius: 5px;
margin-top: 180px;
}

#container h1,
#container h2 {
text-align: center;
}

#container h1 {
margin-top: 10px;
}

#container h1:nth-child(2) {
margin-top: 20px;
font-size: 24px;
font-weight: 700;
}

#container h1 img {
width: 100px;
}

#container h2 {
margin: 20px 0;
}

#container #login_form fieldset ul li input[name=user_id] {
border: 1px solid #666666;
width: 366px;
height: 56px;
padding: 15px 10px;
border-radius: 5px;
margin: 10px 30px 10px 30px;
}

#container #login_form fieldset ul {
margin-bottom: 20px;
}

#container #login_form fieldset ul li {
line-height: 1.3;
}

#container #login_form fieldset ul li:nth-child(2) {
margin-bottom: 50px;
}

#container #login_form fieldset ul li:nth-child(3) {
margin: 0 30px;
}

.sz {
font-size: 16px;
}

.user_id_1 {
color: #1a73e8;
margin: 0 38px;
}

.user_id_2 {
color: #1a73e8;
margin: 0;
}

#container #login_form fieldset .bottom {
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
align-items: center;
}

#container #login_form fieldset .bottom {
padding: 50px 0 30px 0;
}

.make {
margin: 0 0 0 30px;
color: #1a73e8;
}

#container #login_form fieldset .bottom .join {
color: #1a73e8;
}

#container #login_form fieldset .bottom #next_btn {
color: #fff;
padding: 10px 20px;
border-radius: 5px;
margin: 0 30px 0 0;
}

.dropdown {
border: 1px solid #d3d3d3;
border-radius: 3px;
width: 418px;
margin: 0 auto;
margin-top: 3px;
padding: 5px;
display: flex;
align-items: center;
justify-content: space-between;
}

.dropdown #about {
display: flex;
align-items: center;
justify-content: space-between;
}

.dropdown #about a {
margin: 5px;
color: #666666;
}
51 changes: 51 additions & 0 deletions dongjae/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="reset.css">
</head>
<body>
<div id="container">
<h1><img src="static/KakaoTalk_Photo_2023-10-27-18-32-52.png" alt="Google Image"></h1>
<h1>로그인</h1>
<h2>Google 계정 사용</h2>
<form action="#" method="post" id="login_form">
<fieldset>
<legend>로그인 양식</legend>
<ul>
<li>
<div class="se">
<input type="text" name="user_id" placeholder="이메일 또는 휴대전화">
</div>
</li>
<li><a href="#" class="user_id_1">이메일을 잊으셨나요?</a></li>
<li>
<div class="s2">컴퓨터가 아닌가요? 게스트 모드를 사용하여 비공개로 로그인하세요.
<a href="#" class="user_id_2">자세히 알아보기</a>
</div>
</li>
</ul>
<div class="bottom">
<a href="#" class="make">계정 만들기</a>
<button type="button" id="next_btn" style="background: #1a73e8;" class="make_1">다음</button>
</div>
</fieldset>
</form>
</div>
<div class="dropdown">
<select name="lang" id="lang">
<option value="ko">한국어</option>
<option value="en">영어</option>
<option value="ger">독일어</option>
</select>
<div id="about">
<a href="#">도움말</a>
<a href="#">개인정보처리방침</a>
<a href="#">약관</a>
</div>
</div>
</body>
</html>
42 changes: 42 additions & 0 deletions dongjae/reset.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
* {
box-sizing:border-box;
}
html, body, div, h1, h2, p, form, fieldset,legend, ul, li, input, button, a, img, select, option, footer {
margin: 0;
padding: 0;
font-size: 1.0rem;
font-weight: normal;
font-style:normal;
line-height:1.0;
}

fieldset {
border:0;
}

legend {
display: none;
}

a {
color: #000;
text-decoration: none;
}

button {
border: 0;
backgound: none;
cursor: pointer;
}

input {
border: 0;
}

select {
border: 0;
}

ul, li {
list-style: none;
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.