반응형
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
- 확장성
- For
- insertAdjacentHTML
- width
- Sticky
- pointermove
- Hover
- swiperjs
- html
- getBoundingClientRect
- scroll
- scrollevent
- 반복문
- scrollY
- 애니메이션
- swiper
- forEach
- classList
- localstorage
- css
- mousemove
- addEventListener
- NAV
- input
- NodeList
- JavaScript
- 스크롤
- Animation
- 이벤트리스너
- React
Archives
- Today
- Total
목록mouseover (1)
ZeroToHunnit Coding
[CSS] 텍스트 호버(hover) 애니메이션
위와 같이 마우스를 갖다 대면 한 글자씩 위쪽으로 파도타기하면서 없어지고 밑에서 한 글자씩 다시 올라오는 애니메이션을 구현했다. HTML 안 녕 하 세 요? 반 갑 습 니 다. 안 녕 하 세 요? 반 갑 습 니 다. 텍스트 박스를 2개 만들어주고 각 글자들을 span태그에 따로따로 담았다. CSS .box { margin-top: 200px; margin-left: 200px; overflow: hidden; cursor: pointer; position: relative; } .text span, .hover-text span{ display: inline-block; transition: all 0.3s; font-size: 60px; } .hover-text{ position: absolute; t..
HTML,CSS
2024. 1. 8. 21:42