wrapper에게 주는 기본셋팅값
1 2 3 4 5 6 7 8 9 | html,body{ width:100%; height:100% } header,section,footer{ overflow:hidden; position:relative; z-index:20; } | cs |
overflow:hidden - 브라우저 해상도에서 넘어가는 지역을 안보이게 처리
poistion:relative - 영역을 잡기 위한 기준점
PS. position / float / display 3개의 속성을 정확하게 이해하면 레이아웃 잡을 수 있다.
'WEB > HTML' 카테고리의 다른 글
React VS Vue (1) | 2018.03.22 |
---|---|
input form autocomplete 자동완성 기능 사용여부 지정 (0) | 2018.03.20 |
유튜브 영상 썸네일 올리기 (0) | 2017.11.13 |
html include (0) | 2017.06.13 |
기초 - float 해제 (0) | 2016.11.23 |