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

스크롤할 때 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