
[BCGD] 비전공자 백엔드 개발 도전기 (31)
·
HTML_CSS
☑️ 레이아웃 관련 스타일✅ width, height기본적으로 content영역의 가로 세로 길이 지정- 고정크기(px)- 가변크기(%) .size-test{border: 10px solid red;} /* test1 가로:400px, 세로: 200px*/ #test1{ width: 400px; height: 200px; /* 요소전체크기: 가로: 420px, 세로:220px */ } /* test2 가로:50%, 세로: 150px*/ #test2{width: 50%; height: 150px;} ✅ display: 화면에 요소 배치 방법display:block | inline | inline..