반응형
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
- css
- insertAdjacentHTML
- swiperjs
- input
- 애니메이션
- React
- 스크롤
- scrollevent
- swiper
- scrollY
- NAV
- 반복문
- localstorage
- addEventListener
- Sticky
- classList
- Animation
- Hover
- For
- mousemove
- scroll
- getBoundingClientRect
- NodeList
- html
- width
- JavaScript
- forEach
- pointermove
- 확장성
- 이벤트리스너
Archives
- Today
- Total
목록리스너 (1)
ZeroToHunnit Coding
[Javascript] 스크롤에 따라 한글자씩 나타나게 하기
이렇게 스크롤을 하면 한글자씩 서서히 나타나게 하는 ui를 만들어보았다. HTML 안 녕 하 세 요 헬 로 우 ~ 반 갑 습 니 다 이렇게 한 글자씩 span태그에 따로따로 담아주었다. 마지막 split-letter을 비워둔 이유는 나중에 밝히겠다. CSS .section{ margin-top: 500px; margin-bottom: 500px; height: 200vh; background-color: blue; } .sticky{ position: sticky; width: 100%; height: 100vh; top: 0; left: 0; display: flex; align-items: center; justify-content: center; } .split-letter{ font-size: 4..
JAVASCRIPT
2024. 1. 18. 15:08