그림 (1) 썸네일형 리스트형 빨간색 네모 그리기 웹에서 가로 100px, 세로 100px 빨간색 네모를 그리는 방법입니다. html 영역 style 영역 html, body { position: relative; width: 100%; height: 100%; overflow: hidden; } .wrap { position: relative; width: 100%; height: 100%; } .wrap .nemo { position: absolute; width: 100px; height: 100px; left: 50%; top: 50%; margin: -50px 0 0 -50px; background-color: #FF0000; } 전체 코드 index.html 1. 위의 index.html 코드를 복사합니다. 2. 메모장에 붙여넣기 합니다. 3.. 이전 1 다음