반응형
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
- Sticky
- For
- swiperjs
- Animation
- 스크롤
- forEach
- html
- scrollY
- mousemove
- getBoundingClientRect
- input
- 확장성
- scrollevent
- addEventListener
- React
- width
- JavaScript
- 이벤트리스너
- classList
- scroll
- 애니메이션
- localstorage
- pointermove
- insertAdjacentHTML
- NAV
- swiper
- css
- Hover
- NodeList
- 반복문
Archives
- Today
- Total
목록rotateY (1)
ZeroToHunnit Coding
[Javascript] 다양한 기능들로 만든 멋진 scroll이벤트
위와 같이 스크롤 함에 따라 큰 박스가 3개로 나눠지고 뒤집어져서 뒷면이 나오는 기능을 구현해봤다. HTML 카드1 뒷면 카드2 뒷면 카드3 뒷면 스크롤 ㄱㄱ CSS .section{ height: 6000px; } .wrapper{ width: 100%; height: 100vh; position: sticky; top: 0; display: flex; justify-content: center; align-items: center; background-color: black; } .grid{ display: grid; width: 1200px; height: 50vh; grid-template-rows: 1fr; grid-template-columns: 1fr 1fr 1fr; grid-auto-col..
JAVASCRIPT
2024. 1. 4. 16:50