반응형
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
- scrollevent
- getBoundingClientRect
- JavaScript
- 애니메이션
- addEventListener
- mousemove
- insertAdjacentHTML
- pointermove
- Animation
- swiper
- 이벤트리스너
- scroll
- classList
- scrollY
- 가로스크롤
- html
- React
- forEach
- css
- 스크롤
- 반복문
- input
- SQLD
- For
- NodeList
- localstorage
- ADsP
- Hover
- Sticky
- swiperjs
Archives
- Today
- Total
목록일차함수 (1)
ZeroToHunnit Coding

위와 같이 스크롤하면 중간에 박스의 크기가 커지고 글자의 크기와 위치가 변형되게 만들어보았다. HTML 제 위치로 찾아갑니다~ CSS body, html{ contain: paint; } .section{ width: 100%; height: 300vh; } .wrap{ position: sticky; top: 0; left: 0; width: 100%; height: 100vh; } .bg{ width: 100%; height: 100%; background-color: aqua; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.3); } .title{ width: 100%; text-align: cent..
JAVASCRIPT
2024. 1. 22. 17:00