반응형
250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- swiper
- Sticky
- NodeList
- insertAdjacentHTML
- 반복문
- classList
- For
- NAV
- Animation
- input
- forEach
- scrollY
- localstorage
- width
- mousemove
- getBoundingClientRect
- 애니메이션
- swiperjs
- JavaScript
- 스크롤
- css
- scroll
- addEventListener
- html
- pointermove
- React
- 확장성
- Hover
- 이벤트리스너
- scrollevent
Archives
- Today
- Total
목록contain:paint (1)
ZeroToHunnit Coding
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bYofHs/btsCN1AdZYS/C9vp5K2Qog0utHIRIQInDK/img.gif)
스크롤하면 메인 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