스크롤 시 윈도우 하단에 고정하기
·
🐣codeLab
조건 btn이 여러개 일 때 btn 클래스를 가진 요소가 모두 fix. visual일 때는 btn이 보이지 않아야 한다. resize에도 가능. 일단 코드! header visual cnt01 cnt02 cnt02 footer /* 모든 css 동일 */ * { margin: 0; padding: 0; box-sizing: border-box; } .wrap { position: relative; width: 100%; height: 100%; } header, footer { width: 100%; height: 70px; position: relative; background-color: #eaeaea; } footer { height: 200px; } section { position: relati..