반응형
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
- addEventListener
- 애니메이션
- html
- scrollY
- localstorage
- 이벤트리스너
- JavaScript
- getBoundingClientRect
- Hover
- input
- React
- 확장성
- NodeList
- css
- scroll
- forEach
- scrollevent
- width
- insertAdjacentHTML
- 스크롤
- Sticky
- For
- NAV
- classList
- mousemove
- Animation
- 반복문
- swiperjs
- pointermove
- swiper
Archives
- Today
- Total
목록스크롤속도 (1)
ZeroToHunnit Coding
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/zWR3N/btsCzFq8ooI/EQ4QZ0jFllMH41XmOEBrp1/img.gif)
스크롤할 때 div가 내려가는 속도가 각각 다르게 할 수 있다. HTML HTML은 간단하게 좌우에 박스만 두었다. CSS .section{ display: flex; justify-content: center; align-items: center; width: 100%; margin-top: 500px; margin-bottom: 500px; } .left, .right{ width: 50%; justify-content: center; display: flex; flex-direction: column; margin: 100px; } .left{ align-items: end; } .right{ align-items: start; } .right{ transform: translateY(100px);..
JAVASCRIPT
2023. 12. 24. 16:19