
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
지금 강사님 화면은 구글 폰트 Jua의 family seletion 중 폰트를 head에 삽입하고 나서 보니 로그인페이지의 배경 색 녹색이 화면 전체 그리고 가운데 정렬이 안되고 왼쪽에 있네요? 점심 시간 무렵 강의 듣고 따라할 때는 제대로 가운데 정렬과 제목 배경색 사이즈도 줄였거든요
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>로그인 페이지</title>
<link href="https://fonts.googleapis.com/css2?family=Jua&display=swap" rel="stylesheet">
<style>
*{
font-family: 'Jua', sans-serif;
}
.mytitle {
width: 300px;
height: 200px;
color: white;
text-align: center;
background-image: url("https://www.ancient-origins.net/sites/default/files/field/image/Agesilaus-II-cover.jpg");
background-size: cover;
background-position: center;
border-radius: 10px;
padding-top: 40px;
}
.wrap{
background-color: green;
width: auto;
}
</style>
</head>
<body>
<div class="wrap">
<div class="mytitle">
<h1>로그인 페이지</h1>
<h5>아이디, 비밀번호를 입력해주세요</h5>
</div>
<p>ID=<input type="text"/></p>
<p>PW=<input type="text"/></p>
<button> 로그인 하기</button>
</div>
</body>
</html>
