반응형
Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- insertAdjacentHTML
- ADsP
- scrollevent
- pointermove
- NodeList
- scroll
- forEach
- classList
- getBoundingClientRect
- Animation
- scrollY
- 이벤트리스너
- SQLD
- localstorage
- JavaScript
- css
- html
- 애니메이션
- mousemove
- React
- addEventListener
- Sticky
- 가로스크롤
- 스크롤
- Hover
- 반복문
- For
- input
- swiperjs
- swiper
Archives
- Today
- Total
목록postion:sticky (1)
ZeroToHunnit Coding

스크롤하면 메인 title이 서서히 사라지고 메인 visual의 크기가 커지면서 전체 화면을 차지하는 애니메이션을 만들어보았다. 잘 쓰면 꽤나 멋진 홈페이지를 만들 수 있지 않을까 싶다. HTML 무슨 일이 일어날까요?? 짜잔~ HTML은 간단하게 타이틀과 사진만 배치했다. CSS .title-box { position: fixed; top: 300px; left: 30%; z-index: 10; } .title { font-size: 60px; } .section { margin-top: 600px; width: 100%; height: 200vh; margin-bottom: 600px; } .photo-wrap { display: flex; justify-content: center; gap: 60p..
JAVASCRIPT
2023. 12. 27. 21:02