웹페이지

로그인 UI 만들기

코딩하는둥이 2022. 11. 20. 03:05

 

html, css를 사용해 로그인 페이지 제작

 

로그인 UI

페이지 구성

 1. form 

정보를 제출하기 위한 대화형 컨트롤을 포함하는 문서 구획을 나타냅니다

https://developer.mozilla.org/ko/docs/Web/HTML/Element/form

 

<form> - HTML: Hypertext Markup Language | MDN

HTML <form> 요소는 정보를 제출하기 위한 대화형 컨트롤을 포함하는 문서 구획을 나타냅니다.

developer.mozilla.org

2.  fieldset

웹 양식의 여러 컨트롤과 레이블을 묶을 때 사용합니다.

https://developer.mozilla.org/ko/docs/Web/HTML/Element/fieldset

 

<fieldset>: 필드셋 요소 - HTML: Hypertext Markup Language | MDN

HTML <fieldset> 요소는 웹 양식의 여러 컨트롤과 레이블(<label>)을 묶을 때 사용합니다.

developer.mozilla.org

3. label

tk용자 인터페이스 항목의 설명을 나타냅니다.

https://developer.mozilla.org/ko/docs/Web/HTML/Element/label

 

<label> - HTML: Hypertext Markup Language | MDN

HTML <label> 요소는 사용자 인터페이스 항목의 설명을 나타냅니다.

developer.mozilla.org

4. input

웹 기반 양식에서 사용자의 데이터를 받을 수 있는 대화형 컨트롤을 생성합니다

https://developer.mozilla.org/ko/docs/Web/HTML/Element/Input\

 

<input>: 입력 요소 - HTML: Hypertext Markup Language | MDN

HTML <input> 요소는 웹 기반 양식에서 사용자의 데이터를 받을 수 있는 대화형 컨트롤을 생성합니다. 사용자 에이전트에 따라서 다양한 종류의 입력 데이터 유형과 컨트롤 위젯이 존재합니다. 입

developer.mozilla.org

5. 구글 아이콘 추가하는 방법

https://fonts.google.com/icons

 

Material Symbols and Icons - Google Fonts

Material Symbols are our newest icons consolidating over 2,500 glyphs in a single font file with a wide range of design variants.

fonts.google.com

사이트에 들어가서 원하는 이모틴 선택 후 

 

head 추가
원하는 위치에 추가

 

6. button

클릭 가능한 버튼을 나타냅니다.

https://developer.mozilla.org/ko/docs/Web/HTML/Element/button

 

<button>: 버튼 요소 - HTML: Hypertext Markup Language | MDN

HTML <button> 요소는 클릭 가능한 버튼을 나타냅니다. 버튼은 양식 내부는 물론 간단한 표준 버튼 기능이 필요한 곳이라면 문서 어디에나 배치할 수 있습니다. 기본값의 HTML 버튼은 사용자 에이전

developer.mozilla.org

 

@charset "UTF-8";
section{
  margin: 0 auto;
  width: 1200px;
}
.box{
  
  display: flex;
  justify-content: space-between;

}
div div{
  width: 550px;
  background-color: #fff;
  text-align: center;
  height: 500px;
  border-radius: 1rem;
  
  display: block;
}
div .login{

}
div .signup{


}
div h2{
  
  font-size: 1.5vw;
  font-weight: bolder;
  padding: 40px;
  
}
div form{

  display: flex;
  justify-content: center;
}
div form fieldset{

  border: none;
}
div form fieldset label{
  
}
div form fieldset input{
  height: 58px;
  width: 400px;
  border-radius: 0.5rem;
  display: block;
 

  font-size: 1vw;
  background-color: #f7f7f7;
}
div form fieldset span{
  position: relative;
  left: -173px;
  top: 48px;
  font-size: 29px !important;
}
div form fieldset button {
  
  padding: 15px 58px;
  margin: 20px 0;
  background: #000;
  border-radius: 0.5rem;
  color: #fff;
}
div p{
  
  color: #595959;
}

 

'웹페이지' 카테고리의 다른 글

간단한 영화 소개 페이지 만들기  (2) 2022.12.04
탭 메뉴 만들기  (1) 2022.11.27
html, css로 간단한 자기소개 페이지 만들기  (2) 2022.11.13
block, inline, position 완벽 정복  (0) 2022.11.06
container  (0) 2022.11.06